Method | Description | |
---|---|---|
AddState ( String name ) : void |
Enqueues a state with no transition time.
|
|
AddState ( String name, System.TimeSpan duration ) : void |
Enqueues a state with a defined transition time.
|
|
ForceState ( String name ) : void |
Immediately changes the state and destroys the queue.
|
|
StateManager ( |
Method | Description | |
---|---|---|
ProcessState ( |
public AddState ( String name, System.TimeSpan duration ) : void | ||
name | String | |
duration | System.TimeSpan | The amount of time it will take to transition to this state. |
return | void |
public StateManager ( |
||
game | ||
return | System |