Table of Contents

Class TrainStationPredictionSimulationSystem

Namespace
Game.Content.Trains.Predictions
Assembly
Game.Content.dll
public class TrainStationPredictionSimulationSystem : TrainStationSimulationSystem<ConnectableChainableTrainStation<TrainStationPredictionSimulation>, TrainStationPredictionSimulation>, ISpecializedIslandTenantSimulationSystem, IIslandTenantSimulationSystem, ISimulationSystem
Inheritance
object
TrainStationPredictionSimulationSystem
Implements
Inherited Members
Extension Methods

Constructors

TrainStationPredictionSimulationSystem(IEnumerable<IslandDefinitionId>, IEnumerable<ITrainSubStationSimulationSystem>, ILogger)

public TrainStationPredictionSimulationSystem(IEnumerable<IslandDefinitionId> trainStops, IEnumerable<ITrainSubStationSimulationSystem> trainSubStationSimulationSystems, ILogger logger)

Parameters

trainStops IEnumerable<IslandDefinitionId>
trainSubStationSimulationSystems IEnumerable<ITrainSubStationSimulationSystem>
logger ILogger

Methods

CreateStationConnectableSimulation(ConnectableSubStation, TrainStationPredictionSimulation, GlobalChunkPivot, GlobalChunkPivot)

protected override ConnectableChainableTrainStation<TrainStationPredictionSimulation> CreateStationConnectableSimulation(ConnectableSubStation connectableTrainStopSimulation, TrainStationPredictionSimulation trainStationSimulation, GlobalChunkPivot input, GlobalChunkPivot output)

Parameters

connectableTrainStopSimulation ConnectableSubStation
trainStationSimulation TrainStationPredictionSimulation
input GlobalChunkPivot
output GlobalChunkPivot

Returns

ConnectableChainableTrainStation<TrainStationPredictionSimulation>

CreateStationSimulation()

protected override TrainStationPredictionSimulation CreateStationSimulation()

Returns

TrainStationPredictionSimulation

CreateUpsideDownSimulation(ConnectableChainableTrainStation<TrainStationPredictionSimulation>, IEnumerable<GlobalChunkCoordinate>)

protected override IConnectableSimulation CreateUpsideDownSimulation(ConnectableChainableTrainStation<TrainStationPredictionSimulation> aggregatedSimulation, IEnumerable<GlobalChunkCoordinate> chunks)

Parameters

aggregatedSimulation ConnectableChainableTrainStation<TrainStationPredictionSimulation>
chunks IEnumerable<GlobalChunkCoordinate>

Returns

IConnectableSimulation