Table of Contents

Class StackerSimulation

Namespace
Root
Assembly
Game.Content.dll
public class StackerSimulation : Simulation<StackerSimulationState>, IItemSimulation, IUpdatableSimulation, ISimulation
Inheritance
object
StackerSimulation
Implements
Inherited Members
Extension Methods

Constructors

StackerSimulation(StackerSimulationState, IStackerConfiguration, IShapeRegistry, ShapeOperationStack)

public StackerSimulation(StackerSimulationState state, IStackerConfiguration configuration, IShapeRegistry shapeRegistry, ShapeOperationStack stackOperation)

Parameters

state StackerSimulationState
configuration IStackerConfiguration
shapeRegistry IShapeRegistry
stackOperation ShapeOperationStack

Fields

LowerInputLane

public readonly BeltLane LowerInputLane

Field Value

BeltLane

OutputLane

public readonly BeltLane OutputLane

Field Value

BeltLane

ProcessingLane

public readonly DelayBeltLane ProcessingLane

Field Value

DelayBeltLane

UpperInputLane

public readonly BeltLane UpperInputLane

Field Value

BeltLane

Properties

CurrentCollapseResult

public ShapeCollapseResult CurrentCollapseResult { get; }

Property Value

ShapeCollapseResult

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 index)

Parameters

index int

Returns

IItemProvider

GetItemReceiver(int)

public IItemReceiver GetItemReceiver(int index)

Parameters

index 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