Public Member Functions | |
| Event () | |
| Default constructor. | |
| Event (const Event &event) | |
| Copy constructor. | |
| void | setEvent (const SDL_Event *event, double timestamp) |
| Set the event to the passed event. | |
| const SDL_Event & | getEvent () const |
| Get the current event. | |
This is mostly a wrapper around SDL_Event, except that we add functionality in the SDL_UserEvent for our hook events. If the event type is SDL_USEREVENT, then the 'code' is the hook type and the two parameters are an IObject* and an IInstance*.
1.4.3