메소드 | 설명 | |
---|---|---|
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 |