Esempio n. 1
0
 protected void MoveUp()
 {
     var command = new MoveCommand(this, Direction.Up);
     commands.Add(command);
 }
Esempio n. 2
0
 protected void MoveLeft()
 {
     var command = new MoveCommand(this, Direction.Left);
     commands.Add(command);
 }
Esempio n. 3
0
 protected void MoveRight()
 {
     var command = new MoveCommand(this, Direction.Right);
     commands.Add(command);
 }
Esempio n. 4
0
 protected void MoveDown()
 {
     var command = new MoveCommand(this, Direction.Down);
     commands.Add(command);
 }