#include <AIState.h>
Public Member Functions | |
virtual | ~Listener () |
virtual void | stateEnter (AIAgent *agent, AIState *state) |
virtual void | stateExit (AIAgent *agent, AIState *state) |
virtual void | stateUpdate (AIAgent *agent, AIState *state, float elapsedTime) |
Interface for listening to AIState events.
virtual gameplay::AIState::Listener::~Listener | ( | ) | [virtual] |
Virtual destructor.
virtual void gameplay::AIState::Listener::stateEnter | ( | AIAgent * | agent, |
AIState * | state | ||
) | [virtual] |
Called when a state is entered.
agent | The AIAgent this state event is for. |
state | The state that was entered. |
virtual void gameplay::AIState::Listener::stateExit | ( | AIAgent * | agent, |
AIState * | state | ||
) | [virtual] |
Called when a state is exited.
agent | The AIAgent this state event is for. |
state | The state that was exited. |
virtual void gameplay::AIState::Listener::stateUpdate | ( | AIAgent * | agent, |
AIState * | state, | ||
float | elapsedTime | ||
) | [virtual] |