Example #1
0
 public SimpleDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior   = new FlyWithWings();
 }
Example #2
0
 public RubberDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior   = new FlyWithOutWings();
 }
Example #3
0
 public SimpleDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior = new FlyWithWings();
 }
Example #4
0
 public RubberDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior = new FlyWithOutWings();
 }