Class UpsideDownRailPathPredictionSimulationSystem<TInput, TOutput>
- Namespace
- Game.Content.IslandPath.Prediction.Rail
- Assembly
- Game.Content.dll
public class UpsideDownRailPathPredictionSimulationSystem<TInput, TOutput> : IslandPathSimulationSystem<ConnectableUpsideDownRailPathPredictionSimulation, TInput, TOutput>, IChunkSimulationSystem, ISpecializedIslandTenantSimulationSystem, IIslandTenantSimulationSystem, ISimulationSystem where TInput : class, IRailIslandInputConnector where TOutput : class, IRailIslandOutputConnector
Type Parameters
TInputTOutput
- Inheritance
-
objectIslandPathSimulationSystem<ConnectableUpsideDownRailPathPredictionSimulation, TInput, TOutput>UpsideDownRailPathPredictionSimulationSystem<TInput, TOutput>
- Implements
- Inherited Members
- Extension Methods
Constructors
UpsideDownRailPathPredictionSimulationSystem(IEnumerable<IIslandDefinition>, ILogger)
public UpsideDownRailPathPredictionSimulationSystem(IEnumerable<IIslandDefinition> conveyorDefinitions, ILogger logger)
Parameters
conveyorDefinitionsIEnumerable<IIslandDefinition>loggerILogger
Methods
CloseLoop(ConnectableUpsideDownRailPathPredictionSimulation, IslandInstance)
protected override void CloseLoop(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, IslandInstance island)
Parameters
connectablePathConnectableUpsideDownRailPathPredictionSimulationislandIslandInstance
CreateSimulation(IslandInstance)
protected override ConnectableUpsideDownRailPathPredictionSimulation CreateSimulation(IslandInstance instance)
Parameters
instanceIslandInstance
Returns
ExtendSimulationAtTheBeginning(ConnectableUpsideDownRailPathPredictionSimulation, IslandInstance)
protected override void ExtendSimulationAtTheBeginning(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, IslandInstance island)
Parameters
connectablePathConnectableUpsideDownRailPathPredictionSimulationislandIslandInstance
ExtendSimulationAtTheEnd(ConnectableUpsideDownRailPathPredictionSimulation, IslandInstance)
protected override void ExtendSimulationAtTheEnd(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, IslandInstance island)
Parameters
connectablePathConnectableUpsideDownRailPathPredictionSimulationislandIslandInstance
OpenLoop(ConnectableUpsideDownRailPathPredictionSimulation, int)
protected override void OpenLoop(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, int index)
Parameters
connectablePathConnectableUpsideDownRailPathPredictionSimulationindexint
RemoveIslandsAfterAt(ConnectableUpsideDownRailPathPredictionSimulation, int, ICollection<IslandInstance>)
protected override void RemoveIslandsAfterAt(ConnectableUpsideDownRailPathPredictionSimulation path, int removalIndex, ICollection<IslandInstance> islandsAfterSplitPoint)
Parameters
pathConnectableUpsideDownRailPathPredictionSimulationremovalIndexintislandsAfterSplitPointICollection<IslandInstance>
RemovePathFirstIsland(ConnectableUpsideDownRailPathPredictionSimulation)
protected override IslandInstance RemovePathFirstIsland(ConnectableUpsideDownRailPathPredictionSimulation connectablePath)
Parameters
connectablePathConnectableUpsideDownRailPathPredictionSimulation
Returns
RemovePathLastIsland(ConnectableUpsideDownRailPathPredictionSimulation)
protected override IslandInstance RemovePathLastIsland(ConnectableUpsideDownRailPathPredictionSimulation connectablePath)
Parameters
connectablePathConnectableUpsideDownRailPathPredictionSimulation