Class TimeStateMachine<TLabel>
- Namespace
- Gamelogic.Extensions.Examples.StateMachine
- Assembly
- Assembly-CSharp.dll
public class TimeStateMachine<TLabel>
Type Parameters
TLabel
- Inheritance
-
TimeStateMachine<TLabel>
- Inherited Members
- Extension Methods
Constructors
TimeStateMachine()
public TimeStateMachine()
Properties
CurrentState
public TLabel CurrentState { get; }
Property Value
- TLabel
Methods
AddState(TLabel, TimeState)
public void AddState(TLabel label, TimeState state)
Parameters
label
TLabelstate
TimeState
Start(TLabel, float)
public IEnumerator Start(TLabel label, float totalTime)
Parameters
label
TLabeltotalTime
float