Пример #1
0
 private void AddObservers()
 {
     _firstArmy.Attach(new BeepObserver(400, 401));
     _secondArmy.Attach(new BeepObserver(600, 601));
     _firstArmy.Attach(new DeadLogObserver());
     _secondArmy.Attach(new DeadLogObserver());
 }