AireEngine
A 3D Open-World Game Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BoidController Class Reference
Inheritance diagram for BoidController:
Inheritance graph
[legend]
Collaboration diagram for BoidController:
Collaboration graph
[legend]

Public Member Functions

 BoidController (Aire::BoidManager *boidManager)
 
virtual void onEvent (const Aire::Event &eventInstance) override
 
- Public Member Functions inherited from Aire::GameObject
virtual ~GameObject ()
 Destructor ensures that on deletion, the object if unregistered from all events.
 

Public Attributes

Aire::BoidManagerboidManager
 

Member Function Documentation

◆ onEvent()

virtual void BoidController::onEvent ( const Aire::Event & e)
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.

Parameters
eThe event that triggered the handler.

Implements Aire::GameObject.

Here is the call graph for this function:

The documentation for this class was generated from the following file: