Method | Description | |
---|---|---|
SetState ( int state ) : void |
Sets the value of the state.
|
|
StateMachine ( int initialState ) : System.Threading |
Creates a new StateMachine
|
|
TryChangeState ( int prevState, int nextState ) : bool |
Attempts to change the state of this machine from
|
public StateMachine ( int initialState ) : System.Threading | ||
initialState | int | the state to initially set to |
return | System.Threading |
public TryChangeState ( int prevState, int nextState ) : bool | ||
prevState | int | The state to change from |
nextState | int | The state to change to |
return | bool |