Class StateMachine<T>
Inheritance
System.Object
StateMachine<T>
Assembly: Chroma.Mono.dll
Syntax
public class StateMachine<T>
where T : struct, IConvertible
Type Parameters
Constructors
StateMachine(T)
Declaration
public StateMachine(T initial_state)
Parameters
Type |
Name |
Description |
T |
initial_state |
|
Properties
Current
Declaration
public T Current { get; }
Property Value
Methods
Add(T, Action, Coroutine.CoroutineFunction, Action, Action)
Declaration
public void Add(T state, Action update, Coroutine.CoroutineFunction coroutine = null, Action begin = null, Action end = null)
Parameters
Set(T)
Declaration
Parameters
Type |
Name |
Description |
T |
state |
|
Update()
Declaration