Example #1
0
 public WoodenDuck()
 {
     flyBehaviour   = new NoFLy();
     quackBehaviour = new NoQuack();
 }
Example #2
0
 public RubberDuck()
 {
     flyBehaviour = new NoFLy();
 }
Example #3
0
 public UpgradableDuck()
 {
     flyBehaviour   = new NoFLy();
     quackBehaviour = new NoQuack();
 }