Class FastBeltPathLane
- Namespace
- Game.Core.Belts.BeltPath
- Assembly
- Game.Content.Features.dll
public class FastBeltPathLane : IItemLane, IItemProvider, IUpdatableItemLane, IHookableItemReceiver, IItemReceiver
- Inheritance
-
object
FastBeltPathLane
- Implements
-
- Extension Methods
-
Constructors
FastBeltPathLane(IBeltSpeed, FastBeltPathLaneState, IItemReceiver)
public FastBeltPathLane(IBeltSpeed beltSpeed, FastBeltPathLaneState state, IItemReceiver next = null)
Parameters
beltSpeed IBeltSpeed
state FastBeltPathLaneState
next IItemReceiver
Properties
AcceptHook
public AcceptHookDelegate AcceptHook { get; set; }
Property Value
- AcceptHookDelegate
Duration_T
public Ticks Duration_T { get; }
Property Value
- Ticks
FirstItemDistance_S
public Steps FirstItemDistance_S { get; }
Property Value
- Steps
FreeStepsAtTheEnd
public Steps FreeStepsAtTheEnd { get; }
Property Value
- Steps
HasItem
public bool HasItem { get; }
Property Value
- bool
IsEmpty
public bool IsEmpty { get; }
Property Value
- bool
ItemCapacity
public int ItemCapacity { get; }
Property Value
- int
ItemCount
public int ItemCount { get; }
Property Value
- int
Items
public IReadOnlyList<FastBeltPathLaneState.ItemOnBelt> Items { get; }
Property Value
- IReadOnlyList<FastBeltPathLaneState.ItemOnBelt>
Length_S
public Steps Length_S { get; }
Property Value
- Steps
MaxStep_S
public Steps MaxStep_S { get; }
Property Value
- Steps
NextLane
public IItemReceiver NextLane { get; set; }
Property Value
- IItemReceiver
PostAcceptHook
public PostAcceptHookDelegate PostAcceptHook { get; set; }
Property Value
- PostAcceptHookDelegate
PreAcceptHook
public PreAcceptHookDelegate PreAcceptHook { get; set; }
Property Value
- PreAcceptHookDelegate
StepsPerTick_
public StepRate StepsPerTick_ { get; }
Property Value
- StepRate
Methods
CanAcceptItem(IBeltItem)
public bool CanAcceptItem(IBeltItem itemToTransfer)
Parameters
itemToTransfer IBeltItem
Returns
- bool
Clear()
GetItem(int)
public IBeltItem GetItem(int index)
Parameters
index int
Returns
- IBeltItem
HandOverItem(IBeltItem, Ticks)
public void HandOverItem(IBeltItem itemToTransfer, Ticks remainingTicks)
Parameters
itemToTransfer IBeltItem
remainingTicks Ticks
Update(Ticks)
public void Update(Ticks deltaTicks_T)
Parameters
deltaTicks_T Ticks