public ElevatorControl() { this.window = null; this.cabinView = new CabinView(); this.elevatorView = new ElevatorView(); this.toolView = new ToolBarView(); this.abstraction = new ElevatorAbstract(); this.animationControl = new AnimationControl(); }
public void init(MainWindow frame) { this.window = frame; this.window.init(this); this.cabinView.init(this); this.elevatorView.init(this); this.toolView.init(this); this.abstraction.init(this); this.animationControl.init(this); }