public MallardDuck()
 {
     QuackObservable = new QuackObservable(this);
 }
 public Flock()
 {
     Quackers = new List <IQuackable>();
     // Observers = new List<IObserver<IQuackable>>();
     QuackObservable = new QuackObservable(this);
 }
Beispiel #3
0
 public DuckCall()
 {
     QuackObservable = new QuackObservable(this);
 }
 public RedheadDuck()
 {
     QuackObservable = new QuackObservable(this);
 }
Beispiel #5
0
 public RubberDuck()
 {
     QuackObservable = new QuackObservable(this);
 }