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