Example #1
0
 public MallarDuck()
 {
     FlyBehavior   = new FlyWithWings();
     QuackBehavior = new Quack();
 }
Example #2
0
 public DuckDecoy()
 {
     QuackBehavior = new Quack();
     FlyBehavior   = new FlyNoWay();
 }
Example #3
0
 public ModelDuck()
 {
     FlyBehavior   = new FlyNoWay();
     QuackBehavior = new Quack();
 }