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