Exemple #1
0
 public RedheadDuck()
 {
     flyBehavior   = new Behaviors.FlyWithWings();
     quackBehavior = new Behaviors.QuackNormal();
 }
Exemple #2
0
 public MullardDuck()
 {
     flyBehavior   = new Behaviors.FlyWithWings();
     quackBehavior = new Behaviors.QuackNormal();
 }
Exemple #3
0
 public ModelDuck()
 {
     flyBehavior   = new Behaviors.FlyNo();
     quackBehavior = new Behaviors.QuackNormal();
 }