Table of Contents

Class RailPathPredictionSimulationSystem<TInput, TOutput>

Namespace
Game.Content.IslandPath.Prediction.Rail
Assembly
Game.Content.dll
public class RailPathPredictionSimulationSystem<TInput, TOutput> : IslandPathSimulationSystem<ConnectableRailPathPredictionSimulation, TInput, TOutput>, IChunkSimulationSystem, ISpecializedIslandTenantSimulationSystem, IIslandTenantSimulationSystem, ISimulationSystem where TInput : class, IRailIslandInputConnector where TOutput : class, IRailIslandOutputConnector

Type Parameters

TInput
TOutput
Inheritance
object
RailPathPredictionSimulationSystem<TInput, TOutput>
Implements
Inherited Members
Extension Methods

Constructors

RailPathPredictionSimulationSystem(IEnumerable<IIslandDefinition>, ILogger)

public RailPathPredictionSimulationSystem(IEnumerable<IIslandDefinition> conveyorDefinitions, ILogger logger)

Parameters

conveyorDefinitions IEnumerable<IIslandDefinition>
logger ILogger

Methods

CloseLoop(ConnectableRailPathPredictionSimulation, IslandInstance)

protected override void CloseLoop(ConnectableRailPathPredictionSimulation connectablePath, IslandInstance island)

Parameters

connectablePath ConnectableRailPathPredictionSimulation
island IslandInstance

CreateSimulation(IslandInstance)

protected override ConnectableRailPathPredictionSimulation CreateSimulation(IslandInstance instance)

Parameters

instance IslandInstance

Returns

ConnectableRailPathPredictionSimulation

ExtendSimulationAtTheBeginning(ConnectableRailPathPredictionSimulation, IslandInstance)

protected override void ExtendSimulationAtTheBeginning(ConnectableRailPathPredictionSimulation connectablePath, IslandInstance island)

Parameters

connectablePath ConnectableRailPathPredictionSimulation
island IslandInstance

ExtendSimulationAtTheEnd(ConnectableRailPathPredictionSimulation, IslandInstance)

protected override void ExtendSimulationAtTheEnd(ConnectableRailPathPredictionSimulation connectablePath, IslandInstance island)

Parameters

connectablePath ConnectableRailPathPredictionSimulation
island IslandInstance

OpenLoop(ConnectableRailPathPredictionSimulation, int)

protected override void OpenLoop(ConnectableRailPathPredictionSimulation connectablePath, int index)

Parameters

connectablePath ConnectableRailPathPredictionSimulation
index int

RemoveIslandsAfterAt(ConnectableRailPathPredictionSimulation, int, ICollection<IslandInstance>)

protected override void RemoveIslandsAfterAt(ConnectableRailPathPredictionSimulation path, int removalIndex, ICollection<IslandInstance> islandsAfterSplitPoint)

Parameters

path ConnectableRailPathPredictionSimulation
removalIndex int
islandsAfterSplitPoint ICollection<IslandInstance>

RemovePathFirstIsland(ConnectableRailPathPredictionSimulation)

protected override IslandInstance RemovePathFirstIsland(ConnectableRailPathPredictionSimulation connectablePath)

Parameters

connectablePath ConnectableRailPathPredictionSimulation

Returns

IslandInstance

RemovePathLastIsland(ConnectableRailPathPredictionSimulation)

protected override IslandInstance RemovePathLastIsland(ConnectableRailPathPredictionSimulation connectablePath)

Parameters

connectablePath ConnectableRailPathPredictionSimulation

Returns

IslandInstance