Beispiel #1
0
 public DecoyDuck()
 {
     _flyBehavior   = new FlyNoWay();
     _quackBehavior = new Squeak();
 }
Beispiel #2
0
 public RedHeadDuck()
 {
     _flyBehavior   = new FlyNoWay();
     _quackBehavior = new Squeak();
 }