Namespace: TommoJProductions.ModApi.StateMachine
Represents the ModAPI Transition. Transitions the state machine from one state to another.
public class Transition
Inheritance Object → Transition
The condition that needs to be met before transitioning to Transition.toState
public Func<bool> condition;
The IState to transition to.
public IState toState;
Creates a new Transition.
public Transition(IState toState, Func<bool> condition)
toState IState The state to transition to.
toState
condition Func<Boolean> The condition.
condition
There was an error while loading. Please reload this page.