public ElevatorBank(BuildingConfiguration _buildingConfiguration,
                            List <Elevator> _elevators,
                            GameClock _gameClock)
        {
            buildingConfiguration = _buildingConfiguration;
            elevators             = _elevators;
            gameClock             = _gameClock;

            foreach (Elevator elevator in elevators)
            {
                elevator.registerGameClock(gameClock);
            }
        }
Esempio n. 2
0
 public void registerGameClock(GameClock gameClock)
 {
     m_driver.registerGameClock(gameClock);
 }