Class SwapStep
- Namespace
- NArk.ArkadeIntents.Services
- Assembly
- NArk.ArkadeIntents.dll
One step in a corridor's lifecycle.
public sealed record SwapStep : IEquatable<SwapStep>
- Inheritance
-
SwapStep
- Implements
- Inherited Members
Constructors
SwapStep(int, SwapStepKind, SwapTrigger, ArkadeSwapIntentStatus?)
One step in a corridor's lifecycle.
public SwapStep(int Ordinal, SwapStepKind Kind, SwapTrigger Trigger, ArkadeSwapIntentStatus? Leaves)
Parameters
OrdinalintIts position, from 1.
KindSwapStepKindWhat happens.
TriggerSwapTriggerWhat makes it happen.
LeavesArkadeSwapIntentStatus?The status the swap sits in once this step is done, when it moves it.
Properties
Kind
What happens.
public SwapStepKind Kind { get; init; }
Property Value
Leaves
The status the swap sits in once this step is done, when it moves it.
public ArkadeSwapIntentStatus? Leaves { get; init; }
Property Value
Ordinal
Its position, from 1.
public int Ordinal { get; init; }
Property Value
Trigger
What makes it happen.
public SwapTrigger Trigger { get; init; }