public void AddObserver(Observer observer)
 {
     _observers.Add(observer);
 }
 public void removeObserver(Observer observer)
 {
     _observers.Remove(observer);
 }
Beispiel #3
0
 private UserInterface()
 {
     instance          = this;
     _uiElements       = new List <UIElement>();
     _observerInstance = new UserInterfaceObserver();
 }