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