Class ConverterSimulation
- Namespace
- Game.Content.AtomicIslands.Converters
- Assembly
- Game.Content.dll
public class ConverterSimulation : Simulation<ConverterSimulationState>, IItemSimulation, IUpdatableSimulation, ISimulation
- Inheritance
-
objectConverterSimulation
- 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
stateConverterSimulationStateitemReceivedDelegateItemReceivedDelegateitemConvertedDelegateItemConvertedDelegateconfigurationIConverterConfigurationinterlockIConverterInterlockshapeRegistryIShapeRegistry
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
outputIndexint
Returns
GetItemReceiver(int)
public IItemReceiver GetItemReceiver(int inputIndex)
Parameters
inputIndexint
Returns
TraverseLanes<TTraverser>(TTraverser)
public void TraverseLanes<TTraverser>(TTraverser traverser) where TTraverser : IItemLaneTraverser
Parameters
traverserTTraverser
Type Parameters
TTraverser
Update(Ticks, Ticks)
public void Update(Ticks startTicks, Ticks deltaTicks)