public string Undo()
 {
     rotatingTop.StartRotating();
     return("TopStopRotateCommand.undo(): Undoing previous action->Invoking startRotating() on RotatingTop");
 }
Ejemplo n.º 2
0
 public string Execute()
 {
     rotatingTop.StartRotating();
     return("TopRotateCommand.execute(): Invoking startRotating() on RotatingTop");
 }