public ModelDuck()
 {
     FlyBehaviour   = new FlyNoWay();
     QuackBehaviour = new Quack();
 }
Exemplo n.º 2
0
 public MallardDuck()
 {
     QuackBehaviour = new Quack();
     FlyBehaviour   = new FlyWithWings();
 }