public RedDuck(MainWindow window, int top, DuckController controller) : base(window, top, controller) { this.window = window; this.top = top; this.controller = controller; }
public GameController(MainWindow window) { this.window = window; levelState = new Level(window); levelState.getLevelOne(); duckController = new DuckController(window, this); }
public Duck(MainWindow window, int top, DuckController controller) { dispatcher = Dispatcher.CurrentDispatcher; aliveDuck = new AliveDuck(this); shotDuck = new ShotDuck(this); deadDuck = new DeadDuck(this); this.controller = controller; duckState = aliveDuck; }