Class SyncStateMachine<T>
Inheritance
SyncStateMachine<T>
Assembly: LiteEntitySystem.dll
Syntax
public class SyncStateMachine<T> : SyncableField where T : unmanaged, Enum
Type Parameters
Constructors
SyncStateMachine()
Declaration
public SyncStateMachine()
Properties
CurrentState
Declaration
public T CurrentState { get; }
Property Value
Methods
Add(T, StateCalls)
Declaration
public SyncStateMachine<T> Add(T stateName, StateCalls stateCalls)
Parameters
Type |
Name |
Description |
T |
stateName |
|
StateCalls |
stateCalls |
|
Returns
ChangeState(T)
Declaration
public void ChangeState(T state)
Parameters
Type |
Name |
Description |
T |
state |
|
SetInitialState(T)
Declaration
public void SetInitialState(T state)
Parameters
Type |
Name |
Description |
T |
state |
|
Update(float)
Declaration
public void Update(float dt)
Parameters
Type |
Name |
Description |
float |
dt |
|