|
void | Update (float afTime) |
|
void | AddState (iAIState *apState, const tString &asName, int alId, float afUpdateStep) |
|
void | ChangeState (int alId) |
|
void | SetActive (bool abX) |
|
bool | IsActive () |
|
iAIState * | GetState (int alId) |
|
iAIState * | CurrentState () |
|
◆ AddState()
void hpl::cStateMachine::AddState |
( |
iAIState * |
apState, |
|
|
const tString & |
asName, |
|
|
int |
alId, |
|
|
float |
afUpdateStep |
|
) |
| |
Adds a new state to the state machine. The state machine will destroy them when deleted.
The documentation for this class was generated from the following file: