Beispiel #1
0
 public WoodenDuck()
 {
     QuackBehavior = new MuteQuack();
     FlyBehavior = new FlyWithOutWings();
 }
Beispiel #2
0
 public FakeDuck()
 {
     QuackBehavior = new MuteQuack();
     FlyBehavior = new FlyWithOutWings();
 }
Beispiel #3
0
 public WoodenDuck()
 {
     QuackBehavior = new MuteQuack();
     FlyBehavior   = new FlyWithOutWings();
 }