예제 #1
0
 public TeerlingController()
 {
     view = new TeerlingView( this );
     model = new TeerlingModel();
 }
 public void AddObserver(TeerlingView observer)
 {
     observers.Add(observer);
     NotifyObservers();
 }
 public TeerlingController()
 {
     view  = new TeerlingView(this);
     model = new TeerlingModel();
 }
 public void AddObserver(TeerlingView observer)
 {
     observers.Add(observer);
     NotifyObservers();
 }