Class that handles all event related functions. More...
#include <ai_event.hpp>
Static Public Member Functions | |
| static const char * | GetClassName () |
| The name of the class, needed by several sub-processes. | |
| static bool | IsEventWaiting () |
| Check if there is an event waiting. | |
| static AIEvent * | GetNextEvent () |
| Get the next event. | |
| static void | InsertEvent (AIEvent *event) |
| Insert an event to the queue for the company. | |
| static void | FreeEventPointer () |
| Free the event pointer. | |
Static Private Member Functions | |
| static void | CreateEventPointer () |
| Create the event pointer. | |
Class that handles all event related functions.
Definition at line 81 of file ai_event.hpp.
| void AIEventController::FreeEventPointer | ( | ) | [static] |
Free the event pointer.
Definition at line 28 of file ai_event.cpp.
References AIObject::GetEventPointer().
| static const char* AIEventController::GetClassName | ( | ) | [inline, static] |
The name of the class, needed by several sub-processes.
Get the name of this class to identify it towards squirrel.
Definition at line 87 of file ai_event.hpp.
| AIEvent * AIEventController::GetNextEvent | ( | ) | [static] |
Get the next event.
Definition at line 51 of file ai_event.cpp.
References CreateEventPointer(), and AIObject::GetEventPointer().
| void AIEventController::InsertEvent | ( | AIEvent * | event | ) | [static] |
Insert an event to the queue for the company.
| event | The event to insert. |
Definition at line 63 of file ai_event.cpp.
References CreateEventPointer(), and AIObject::GetEventPointer().
Referenced by AI::NewEvent().
| bool AIEventController::IsEventWaiting | ( | ) | [static] |
Check if there is an event waiting.
Definition at line 43 of file ai_event.cpp.
References CreateEventPointer(), and AIObject::GetEventPointer().
1.7.1