Ejemplo n.º 1
0
 public SimpleDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior   = new FlyWithWings();
 }
Ejemplo n.º 2
0
 public RubberDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior   = new FlyWithOutWings();
 }
Ejemplo n.º 3
0
 public SimpleDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior = new FlyWithWings();
 }
Ejemplo n.º 4
0
 public RubberDuck()
 {
     QuackBehavior = new Squeack();
     FlyBehavior = new FlyWithOutWings();
 }