Table of Contents

Class HalvesSwapperSimulation

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

Constructors

HalvesSwapperSimulation(HalvesSwapperSimulationState, ICutterConfiguration, IShapeRegistry, ShapeOperationSwapHalves)

public HalvesSwapperSimulation(HalvesSwapperSimulationState state, ICutterConfiguration cutterConfiguration, IShapeRegistry shapeRegistry, ShapeOperationSwapHalves halvesSwapOperation)

Parameters

state HalvesSwapperSimulationState
cutterConfiguration ICutterConfiguration
shapeRegistry IShapeRegistry
halvesSwapOperation ShapeOperationSwapHalves

Fields

LowerInputLane

public readonly BeltLane LowerInputLane

Field Value

BeltLane

LowerOutputLane

public readonly BeltLane LowerOutputLane

Field Value

BeltLane

LowerProcessingLane

public readonly DelayBeltLane LowerProcessingLane

Field Value

DelayBeltLane

UpperInputLane

public readonly BeltLane UpperInputLane

Field Value

BeltLane

UpperOutputLane

public readonly BeltLane UpperOutputLane

Field Value

BeltLane

UpperProcessingLane

public readonly DelayBeltLane UpperProcessingLane

Field Value

DelayBeltLane

Properties

LowerFinalResult

public ShapeItem LowerFinalResult { get; }

Property Value

ShapeItem

LowerLeftCollapseResult

public ShapeCollapseResult LowerLeftCollapseResult { get; }

Property Value

ShapeCollapseResult

LowerRightCollapseResult

public ShapeCollapseResult LowerRightCollapseResult { get; }

Property Value

ShapeCollapseResult

NumItemProviders

public int NumItemProviders { get; }

Property Value

int

NumItemReceivers

public int NumItemReceivers { get; }

Property Value

int

UpperFinalResult

public ShapeItem UpperFinalResult { get; }

Property Value

ShapeItem

UpperLeftCollapseResult

public ShapeCollapseResult UpperLeftCollapseResult { get; }

Property Value

ShapeCollapseResult

UpperRightCollapseResult

public ShapeCollapseResult UpperRightCollapseResult { get; }

Property Value

ShapeCollapseResult

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