![]() |
Blamite Game Engine - blam!
00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
|
Class representing a generic event. More...
#include <Event.hpp>
Public Member Functions | |
EventType | GetEventType () |
Retrieves the type of the event. More... | |
void | setCancelled (bool cancel) |
Sets whether or not the event should be cancelled. More... | |
bool | isCancelled () |
Determines whether or not the event has been cancelled. More... | |
Public Attributes | |
EventType | event_type |
The type of the event. More... | |
Class representing a generic event.
Events can be used for virtually anything. They are used as a way to avoid lots of hard-coding when certain actions are triggered.
|
inline |
Retrieves the type of the event.
|
inline |
Determines whether or not the event has been cancelled.
|
inline |
Sets whether or not the event should be cancelled.
If an event is cancelled, none of the remaining listeners will recieve a notification about the event.
cancel | - Whether or not to cancel the event. |
EventType Blam::Events::Event::event_type |
The type of the event.