public ModelDuck()
 {
     FlyBehavior   = new FlyNoWings();
     QuackBehavior = new Quack();
 }
Example #2
0
 public MallardDuck()
 {
     QuackBehavior = new Quack();
     FlyBehavior   = new FlyWithWings();
 }