public void execute()
 {
     light.on();
 }
Exemple #2
0
 public void undo()
 {
     light.on();
 }
 public void undo()
 {
     light.on();
     Console.WriteLine("in the living room");
 }
 public void execute()
 {
     light.on();
     Console.WriteLine("in the living room");
 }