Table of Contents

Class ConverterSimulation

Namespace
Game.Content.AtomicIslands.Converters
Assembly
Game.Content.dll
public class ConverterSimulation : Simulation<ConverterSimulationState>, IItemSimulation, IUpdatableSimulation, ISimulation
Inheritance
object
ConverterSimulation
Implements
Inherited Members
Extension Methods

Constructors

ConverterSimulation(ConverterSimulationState, ItemReceivedDelegate, ItemConvertedDelegate, IConverterConfiguration, IConverterInterlock, IShapeRegistry)

public ConverterSimulation(ConverterSimulationState state, ItemReceivedDelegate itemReceivedDelegate, ItemConvertedDelegate itemConvertedDelegate, IConverterConfiguration configuration, IConverterInterlock interlock, IShapeRegistry shapeRegistry)

Parameters

state ConverterSimulationState
itemReceivedDelegate ItemReceivedDelegate
itemConvertedDelegate ItemConvertedDelegate
configuration IConverterConfiguration
interlock IConverterInterlock
shapeRegistry IShapeRegistry

Fields

InputLanes

public readonly BeltLane[] InputLanes

Field Value

BeltLane[]

OutputLanes

public readonly BeltLane[] OutputLanes

Field Value

BeltLane[]

Properties

IsProcessingItem

public bool IsProcessingItem { get; }

Property Value

bool

NumItemProviders

public int NumItemProviders { get; }

Property Value

int

NumItemReceivers

public int NumItemReceivers { get; }

Property Value

int

Methods

ClearContent()

public void ClearContent()

GetItemProvider(int)

public IItemProvider GetItemProvider(int outputIndex)

Parameters

outputIndex int

Returns

IItemProvider

GetItemReceiver(int)

public IItemReceiver GetItemReceiver(int inputIndex)

Parameters

inputIndex int

Returns

IItemReceiver

TraverseLanes<TTraverser>(TTraverser)

public void TraverseLanes<TTraverser>(TTraverser traverser) where TTraverser : IItemLaneTraverser

Parameters

traverser TTraverser

Type Parameters

TTraverser

Update(Ticks, Ticks)

public void Update(Ticks startTicks, Ticks deltaTicks)

Parameters

startTicks Ticks
deltaTicks Ticks