Table of Contents

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

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

Constructors

UpsideDownRailPathPredictionSimulationSystem(IEnumerable<IIslandDefinition>, ILogger)

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

Parameters

conveyorDefinitions IEnumerable<IIslandDefinition>
logger ILogger

Methods

CloseLoop(ConnectableUpsideDownRailPathPredictionSimulation, IslandInstance)

protected override void CloseLoop(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, IslandInstance island)

Parameters

connectablePath ConnectableUpsideDownRailPathPredictionSimulation
island IslandInstance

CreateSimulation(IslandInstance)

protected override ConnectableUpsideDownRailPathPredictionSimulation CreateSimulation(IslandInstance instance)

Parameters

instance IslandInstance

Returns

ConnectableUpsideDownRailPathPredictionSimulation

ExtendSimulationAtTheBeginning(ConnectableUpsideDownRailPathPredictionSimulation, IslandInstance)

protected override void ExtendSimulationAtTheBeginning(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, IslandInstance island)

Parameters

connectablePath ConnectableUpsideDownRailPathPredictionSimulation
island IslandInstance

ExtendSimulationAtTheEnd(ConnectableUpsideDownRailPathPredictionSimulation, IslandInstance)

protected override void ExtendSimulationAtTheEnd(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, IslandInstance island)

Parameters

connectablePath ConnectableUpsideDownRailPathPredictionSimulation
island IslandInstance

OpenLoop(ConnectableUpsideDownRailPathPredictionSimulation, int)

protected override void OpenLoop(ConnectableUpsideDownRailPathPredictionSimulation connectablePath, int index)

Parameters

connectablePath ConnectableUpsideDownRailPathPredictionSimulation
index int

RemoveIslandsAfterAt(ConnectableUpsideDownRailPathPredictionSimulation, int, ICollection<IslandInstance>)

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

Parameters

path ConnectableUpsideDownRailPathPredictionSimulation
removalIndex int
islandsAfterSplitPoint ICollection<IslandInstance>

RemovePathFirstIsland(ConnectableUpsideDownRailPathPredictionSimulation)

protected override IslandInstance RemovePathFirstIsland(ConnectableUpsideDownRailPathPredictionSimulation connectablePath)

Parameters

connectablePath ConnectableUpsideDownRailPathPredictionSimulation

Returns

IslandInstance

RemovePathLastIsland(ConnectableUpsideDownRailPathPredictionSimulation)

protected override IslandInstance RemovePathLastIsland(ConnectableUpsideDownRailPathPredictionSimulation connectablePath)

Parameters

connectablePath ConnectableUpsideDownRailPathPredictionSimulation

Returns

IslandInstance