summaryrefslogtreecommitdiff
path: root/inc/sdl/event.hpp
blob: c3536cc7ebba365e2d9812de1912443b5a0e5e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef event_h
#define event_h

#include <SDL2/SDL.h>

class Event
{
        public:
	        Event();

		int             Poll();
		void            off();
		bool            gRun();
		SDL_Event&      gEvent();
		int             gEventType();

	private:
		bool            run;
		SDL_Event       v;
};

#endif