public static Index.STATE GetTransportPollutingState(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].Polluting.GetIndexState();
public static float GetTransportSectorInvestmentValue(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Investment.Value;
public static void AddTransportPollutingIndexChange(CityPart.PLACE cityPlace, Transport.TYPE transportType, Index.CHANGE change) => City.Changes.AddIndexChange(City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].Polluting, change);
public static float GetTransportPollutingValue(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].Polluting.Value;
public static float GetIndustrySectorDevelopmentValue(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].IndustrySector.Development.Value;
////////////////////// /// Public Methods /// ////////////////////// public int GetFreeSpaces(Transport.TYPE type) => freeSpaces[(int)type];
public static Transport.ENHANCEMENTS GetTransportEnhancements(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].GetEnhancements();
public static Index.STATE GetTransportSectorTechnologyState(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Technology.GetIndexState();
public static float GetTransportBaseSpeed(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].GetBaseSpeed();
public static Transport.EXPANSION GetTransportExpansions(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].GetExpansionState();
/////////////////////// // Transport Getters // /////////////////////// public static int GetTransportCapacity(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].Capacity;
public static Index.STATE GetLeisureSectorFunState(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].LeisureSector.Fun.GetIndexState();
public static float GetLeisureSectorFunValue(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].LeisureSector.Fun.Value;
public static Index.STATE GetTransportSectorInvestmentState(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Investment.GetIndexState();
public static float GetTransportSpeedIndexValue(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].SpeedIndex.Value;
public static float GetTransportSectorTechnologyValue(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.Technology.Value;
/////////////////////// // Transport Changes // /////////////////////// public static void AddTransportExpansionsChange(CityPart.PLACE cityPlace, Transport.TYPE transportType, Transport.EXPANSION newValue) => City.Changes.AddValueChange(City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].SetExpansionState, newValue);
public static int GetTransportSectorFreeSpaces(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].TransportSector.GetFreeSpaces(transportType);
public static void AddTransportEnhancementsChange(CityPart.PLACE cityPlace, Transport.TYPE transportType, Transport.ENHANCEMENTS newValue) => City.Changes.AddValueChange(City.CityParts[(int)cityPlace].TransportSector.Transports[(int)transportType].SetEnhancements, newValue);
public static Index.STATE GetIndustrySectorDevelopmentState(CityPart.PLACE cityPlace, Transport.TYPE transportType) => City.CityParts[(int)cityPlace].IndustrySector.Development.GetIndexState();
public TransportPlan(Transport.TYPE transport, float safety, int time) { Transport = transport; Safety = safety; TimeRequiered = time; }