Table of Contents

Class HalfCutterSimulation

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

Constructors

HalfCutterSimulation(HalfCutterSimulationState, ICutterConfiguration, IShapeRegistry, ShapeOperationCut)

public HalfCutterSimulation(HalfCutterSimulationState state, ICutterConfiguration cutterConfiguration, IShapeRegistry shapeRegistry, ShapeOperationCut cutOperation)

Parameters

state HalfCutterSimulationState
cutterConfiguration ICutterConfiguration
shapeRegistry IShapeRegistry
cutOperation ShapeOperationCut

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

CurrentCollapseResult

public ShapeCollapseResult CurrentCollapseResult { get; }

Property Value

ShapeCollapseResult

CurrentWaste

public ShapeCollapseResult CurrentWaste { get; }

Property Value

ShapeCollapseResult

NumItemProviders

public int NumItemProviders { get; }

Property Value

int

NumItemReceivers

public int NumItemReceivers { get; }

Property Value

int

ProducingEmptyShape

public bool ProducingEmptyShape { get; }

Property Value

bool

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