public ModelDuck() { FlyBehavior = new FlyNoWay(); QuackBehavior = new Quack(); }
public RubberDuck() { quackBehavior = new QuackWithWings(); flyBehavior = new FlyNoWay(); }
public DecoyDuck() { quackBehavior = new QuackNoWay(); flyBehavior = new FlyNoWay(); }
private void Awake() { DuckType = _type; FlyBehaviour = new FlyNoWay(); }