public MallardDuck() { QuackBehavior = new QuackSound(); FlyBehavior = new FlyWithWings(); }
public ModelDuck() { flyBehavior = new FlyWithWings(); quackBehavior = new LoudQuack(); }
public NormalDuck() { flyBehaviour = new FlyWithWings(); quackBehaviour = new NormalQuack(); }
public MallardDuck() { QuackBehavior = new Quack(); FlyBehavior = new FlyWithWings(); }
public MallardDuck() { quackBehavior = new SoundQuack(); flyBehavior = new FlyWithWings(); }
public Duck() { FlyBehavior = new FlyWithWings(); VocalizeBehavior = new Chirp(); }