Метод | Описание | |
---|---|---|
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 |
Результат | System.Threading |
public TryChangeState ( int prevState, int nextState ) : bool | ||
prevState | int | The state to change from |
nextState | int | The state to change to |
Результат | bool |