Table of Contents

Class RotatorSimulation

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

Constructors

RotatorSimulation(RotatorSimulationState, IRotatorConfiguration, IShapeRegistry, ShapeOperationRotate)

public RotatorSimulation(RotatorSimulationState state, IRotatorConfiguration config, IShapeRegistry shapeRegistry, ShapeOperationRotate shapeOperationRotate)

Parameters

state RotatorSimulationState
config IRotatorConfiguration
shapeRegistry IShapeRegistry
shapeOperationRotate ShapeOperationRotate

Fields

InputLane

public BeltLane InputLane

Field Value

BeltLane

OutputLane

public BeltLane OutputLane

Field Value

BeltLane

ProcessingLane

public DelayBeltLane ProcessingLane

Field Value

DelayBeltLane

Properties

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