|
OpenTTD NoAI API
|
Class that handles all event related functions. More...
Static Public Member Functions | |
| 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. | |
Class that handles all event related functions.
| static void AIEventController::FreeEventPointer | ( | ) | [static] |
Free the event pointer.
| static AIEvent* AIEventController::GetNextEvent | ( | ) | [static] |
Get the next event.
| static void AIEventController::InsertEvent | ( | AIEvent * | event | ) | [static] |
Insert an event to the queue for the company.
| event | The event to insert. |
| static bool AIEventController::IsEventWaiting | ( | ) | [static] |
Check if there is an event waiting.
1.7.5