public void Undo()
 {
     garageDoor.Close();
 }
Exemple #2
0
 public void Execute()
 {
     _garageDoor.Close();
 }
 public void Undo()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
 public void Execute()
 {
     _door.Close();
 }
Exemple #5
0
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
Exemple #6
0
 public void Undo()
 {
     door.Close();
 }