public ElevatorController(ElevatorRequests requests, IBuilding building) { this._requests = requests; this._building = building; this._floorPressed = new bool[_building.Floors.Count]; }
public FloorButton(ElevatorRequests requests, Direction direction, int floorNo) : base(direction, floorNo) { _requests = requests; }