Class PromiseHsm<T, THsm, TState, TInputs>
- Namespace
- MarymoorStudios.Core.Fsm
- Assembly
- MarymoorStudios.Core.Fsm.dll
Abstract base class for Hierarchical State Machines that involve at least one eventual input.
public abstract class PromiseHsm<T, THsm, TState, TInputs> : Hsm<T, THsm, TState, TInputs>, IPromiseDisposable where THsm : PromiseHsm<T, THsm, TState, TInputs>, IHsm<T, THsm, TState, TInputs> where TState : HsmState<T, THsm, TState, TInputs>, IHsmState<T, THsm, TState, TInputs>
Type Parameters
TThe data class for the state machine.
THsmThe class for the state machine itself.
TStateThe base-type for all states in the machine.
TInputsThe class that defines inputs to the machine.
- Inheritance
-
Hsm<T, THsm, TState, TInputs>PromiseHsm<T, THsm, TState, TInputs>
- Implements
- Inherited Members
Constructors
PromiseHsm(T)
protected PromiseHsm(T data)
Parameters
dataT
Methods
DisposeAsync()
public Promise DisposeAsync()
Returns
PendingDecrement()
protected void PendingDecrement()
PendingIncrement()
protected void PendingIncrement()
Wait()
public Promise Wait()