Table of Contents

Class PinPusherSimulation

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

Constructors

PinPusherSimulation(PinPusherSimulationState, IPinPusherConfiguration, IShapeRegistry, ShapeOperationPushPin)

public PinPusherSimulation(PinPusherSimulationState state, IPinPusherConfiguration configuration, IShapeRegistry shapeRegistry, ShapeOperationPushPin pushPinOperation)

Parameters

state PinPusherSimulationState
configuration IPinPusherConfiguration
shapeRegistry IShapeRegistry
pushPinOperation ShapeOperationPushPin

Fields

InputLane

public readonly BeltLane InputLane

Field Value

BeltLane

OutputLane

public readonly BeltLane OutputLane

Field Value

BeltLane

ProcessingLane

public readonly DelayBeltLane ProcessingLane

Field Value

DelayBeltLane

Properties

CurrentResult

public ShapeCollapseResult CurrentResult { get; }

Property Value

ShapeCollapseResult

CurrentWaste

public ShapeItem CurrentWaste { get; }

Property Value

ShapeItem

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