CipherIS
asked on
C# Write a class checking for commands
I need to write a class that will receive commands (up, down, left, right). I will also be receiving the object which needs to perform the commands. When the command is received a process will be performed.
I was originally writing the class to expose the Up, Down, Left, Right.
Can anyone provide the outline of the class? I saw a DoFactory pattern was not sure if I should use this or how.
http://www.dofactory.com/net/command-design-pattern
Thanks
I was originally writing the class to expose the Up, Down, Left, Right.
Can anyone provide the outline of the class? I saw a DoFactory pattern was not sure if I should use this or how.
http://www.dofactory.com/net/command-design-pattern
Thanks
Is the process always the same, or will specific code be needed for each object?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.