public MallardDuck()
 {
     _quackBehavior = new QuackSimple();
     _flyBehavior   = new FlyWithWings();
 }
Esempio n. 2
0
 public ModelDuck()
 {
     _flyBehavior   = new FlyNoWay();
     _quackBehavior = new QuackSimple();
 }