public void execute()
 {
     light.on();
 }
Beispiel #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");
 }