public void Undo()
 {
     garageDoor.Stop();
     garageDoor.On();
     garageDoor.LightOn();
 }
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.On();
     garageDoor.LightOn();
 }
Ejemplo n.º 3
0
 public void Execute()
 {
     _garageDoor.On();
 }