public int MaxUnitsDockingStatus(GameConstants.AircraftDockingStatus status) { //switch (status) //{ // case GameConstants.AircraftDockingStatus.Storage: // return MaxAircraftStorage; // case GameConstants.AircraftDockingStatus.TankingAndRefitting: // return MaxAircraftTanking; // case GameConstants.AircraftDockingStatus.ReadyForTakeoff: // return MaxAircraftReadyForTakeoff; // case GameConstants.AircraftDockingStatus.Flying: // return int.MaxValue; // default: // return 0; //} return(MaxAircraft); }
public double GetStatusChangeTimeSec(GameConstants.AircraftDockingStatus fromStatus, GameConstants.AircraftDockingStatus toStatus) { return(_TimeStorageStatusTimeSec[(int)fromStatus, (int)toStatus]); }
public void SetStatusChangeTimeSec(GameConstants.AircraftDockingStatus fromStatus, GameConstants.AircraftDockingStatus toStatus, double seconds) { _TimeStorageStatusTimeSec[(int)fromStatus, (int)toStatus] = seconds; }