Represents the Move Left command. More...


Public Member Functions | |
| MoveCommandLeft (string command) | |
| Constructor. | |
| override void | Execute () |
| Executes the move left command. | |
Public Member Functions inherited from MoveCommand | |
| MoveCommand (string command, string commandName) | |
| Constructor. | |
| void | Show () |
| Display the move command and its name followed by a newline. | |
| abstract void | Execute () |
| Execute the command. Derived classes must implement this. | |
Additional Inherited Members | |
Properties inherited from MoveCommand | |
| string | Name [get, private set] |
| Name of the command (assigned in the class constructor). | |
| string | Command [get, private set] |
| The command character from the original list of commands. Used when displaying the commands as opposed to when executing the commands (assigned in the class constructor). | |
Represents the Move Left command.
Definition at line 74 of file Null_Object.cs.
|
inline |
Constructor.
| command | The character representing the move in the original move list. |
Definition at line 81 of file Null_Object.cs.
|
inlinevirtual |
Executes the move left command.
Implements MoveCommand.
Definition at line 89 of file Null_Object.cs.