![]() |
AireEngine
A 3D Open-World Game Engine
|


Public Member Functions | |
| BoidStateMachine (State *currentState) | |
| virtual void | onEvent (const Aire::Event &eventInstance) override |
Public Member Functions inherited from Aire::StateMachine | |
| StateMachine (State *currentState) | |
| void | transitionTo (std::string dstState) |
Public Member Functions inherited from Aire::GameObject | |
| virtual | ~GameObject () |
| Destructor ensures that on deletion, the object if unregistered from all events. | |
Additional Inherited Members | |
Public Attributes inherited from Aire::StateMachine | |
| State * | currentState |
| The current state that the state machine is in. | |
|
inlineoverridevirtual |
Event handler to be called when an event is triggered. The handler will be called only if the game object is registered for the event. Override this method for custom event handling.
| e | The event that triggered the handler. |
Implements Aire::GameObject.
