Example #1
0
 public string Undo()
 {
     car.Move();
     return("CarStopCommand.undo(): Undoing previous action-> Invoking move() on Car");
 }
 public string Execute()
 {
     car.Move();
     return("CarMoveCommand.execute(): Invoking move() on Car");
 }