예제 #1
0
 public void beAttacked(ControlCenter acc)
 {
     Console.WriteLine(name+" beAttacked");
      acc.notifyObserver(name);
 }
예제 #2
0
 public void beAttacked(ControlCenter acc)
 {
     Console.WriteLine(name + " beAttacked");
     acc.notifyObserver(name);
 }