예제 #1
0
 //De esta forma cada pato define su comportamiento
 public WoodDuck()
 {
     FlyBehavior   = Behavior.CantFly();
     SwimBehavior  = Behavior.CantSwim();
     QuackBehavior = Behavior.CantQuack();
 }