Example #1
0
 public ModelDuck()
 {
     flyBehavior   = new FlyNoWay();
     quackBehavior = new LoudQuack();
 }
Example #2
0
 public MallardDuck()
 {
     flyBehavior   = new FlyWithWings();
     quackBehavior = new LoudQuack();
 }