Table of Contents

Class TrainLauncherCatcherPredictionSimulationSystem

Namespace
Game.Content.Features.Predictions
Assembly
Game.Content.Features.dll
public class TrainLauncherCatcherPredictionSimulationSystem : ISpecializedIslandTenantSimulationSystem, IIslandTenantSimulationSystem, ISimulationSystem
Inheritance
object
TrainLauncherCatcherPredictionSimulationSystem
Implements
Extension Methods

Constructors

TrainLauncherCatcherPredictionSimulationSystem(IslandDefinitionId, IslandDefinitionId, int, int, ILogger)

public TrainLauncherCatcherPredictionSimulationSystem(IslandDefinitionId trainLauncher, IslandDefinitionId trainCatcher, int minLength, int maxLength, ILogger logger)

Parameters

trainLauncher IslandDefinitionId
trainCatcher IslandDefinitionId
minLength int
maxLength int
logger ILogger

Properties

ConnectableSimulations

public IEnumerable<IConnectableSimulation> ConnectableSimulations { get; }

Property Value

IEnumerable<IConnectableSimulation>

OnBeforeSimulationDestroyed

public IEvent<IConnectableSimulation> OnBeforeSimulationDestroyed { get; }

Property Value

IEvent<IConnectableSimulation>

OnSimulationCreated

public IEvent<IConnectableSimulation> OnSimulationCreated { get; }

Property Value

IEvent<IConnectableSimulation>

Methods

IslandIsOffered(in IslandInstance, IReadOnlyMapLayout, in SimulationSystemPropagationHandle)

public bool IslandIsOffered(in IslandInstance island, IReadOnlyMapLayout layout, in SimulationSystemPropagationHandle propagation)

Parameters

island IslandInstance
layout IReadOnlyMapLayout
propagation SimulationSystemPropagationHandle

Returns

bool

IslandOfferIsTerminated(in IslandInstance, IReadOnlyMapLayout, in SimulationSystemPropagationHandle)

public bool IslandOfferIsTerminated(in IslandInstance island, IReadOnlyMapLayout layout, in SimulationSystemPropagationHandle propagation)

Parameters

island IslandInstance
layout IReadOnlyMapLayout
propagation SimulationSystemPropagationHandle

Returns

bool