Public Types | |
| enum | UserEvent : int32 { Unknown = 0, AI, Animation, Application, Audio, General, Library, State, UI } |
| Definition type of the event we are dispatching. | |
Public Member Functions | |
| int32 | push (SDL_Event *event, int32 code, void *params) |
| int32 | dispatch (enum UserEvent code, void *params=nullptr) |
Definition at line 41 of file EventDispatcher.hpp.
| int32 nom::EventDispatcher::dispatch | ( | enum UserEvent | code, |
| void * | params = nullptr |
||
| ) |
Dispatch an event
Definition at line 64 of file EventDispatcher.cpp.
| int32 nom::EventDispatcher::push | ( | SDL_Event * | event, |
| int32 | code, | ||
| void * | params | ||
| ) |
Internal method wrapper for dispatch
Definition at line 43 of file EventDispatcher.cpp.