Example #1
0
 public RedHeadDuck()
 {
     quackBehavior = new Quack();
     flyBehavior = new FlyWithWings();
 }
Example #2
0
 public MallardDuck()
 {
     quackBehavior = new Quack();
     flyBehavior = new FlyWithWings();
 }
Example #3
0
 public RedHeadDuck()
 {
     quackBehavior = new Quack();
     flyBehavior   = new FlyWithWings();
 }