Class TrainProductionConfiguration
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class TrainProductionConfiguration : ITrainProductionSimulationConfig
- Inheritance
-
objectTrainProductionConfiguration
- Implements
- Extension Methods
Constructors
TrainProductionConfiguration(float, float, int, float)
public TrainProductionConfiguration(float timeBetweenTrainSpawnsInSeconds, float cooldownTimeBeforeFirstSpawnInSeconds, int maxTrainsPerStation, float startingTrainProgress)
Parameters
timeBetweenTrainSpawnsInSecondsfloatcooldownTimeBeforeFirstSpawnInSecondsfloatmaxTrainsPerStationintstartingTrainProgressfloat
Properties
CooldownTimeBeforeFirstSpawnInSeconds
public float CooldownTimeBeforeFirstSpawnInSeconds { get; }
Property Value
- float
MaxTrainsPerStation
public int MaxTrainsPerStation { get; }
Property Value
- int
StartingTrainProgress
public float StartingTrainProgress { get; }
Property Value
- float
TimeBetweenTrainSpawnsInSeconds
public float TimeBetweenTrainSpawnsInSeconds { get; }
Property Value
- float