diff options
Diffstat (limited to 'inc/event.h')
-rw-r--r-- | inc/event.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/inc/event.h b/inc/event.h new file mode 100644 index 0000000..9ba7eea --- /dev/null +++ b/inc/event.h @@ -0,0 +1,21 @@ +#ifndef event_h +#define event_h + +#include "window.h" + +class Event +{ + public: + Event(); + int Poll(); + void off(); + bool gRun(); + SDL_Event& gEvent(); + int gEventType(); + + private: + bool run; + SDL_Event v; +}; + +#endif |