public MallardDuck() { _quackBehavior = new QuackSimple(); _flyBehavior = new FlyWithWings(); }
public ModelDuck() { _flyBehavior = new FlyNoWay(); _quackBehavior = new QuackSimple(); }
public MallardDuck() { _quackBehavior = new QuackSimple(); _flyBehavior = new FlyWithWings(); }
public ModelDuck() { _flyBehavior = new FlyNoWay(); _quackBehavior = new QuackSimple(); }