public ModelDuck() { QuackBehavior = new LoudQuack(); FlyBehavior = new FlyNoWay(); }
public ModelDuck() { flyBehavior = new FlyWithWings(); quackBehavior = new LoudQuack(); }
public MallardDuck() { QuackBehavior = new LoudQuack(); FlyBehavior = new FlyWithWings(); }