19 lines
274 B
C
19 lines
274 B
C
|
#ifndef GAME
|
||
|
#define GAME
|
||
|
|
||
|
#include "../window/window.h"
|
||
|
|
||
|
enum GameEvent { None, Quit, Up, Left, Down, Right };
|
||
|
|
||
|
GameEvent game(Window &window);
|
||
|
|
||
|
class Event
|
||
|
{
|
||
|
public:
|
||
|
bool operator==(GameEvent event);
|
||
|
|
||
|
private:
|
||
|
SDL_Event event;
|
||
|
};
|
||
|
|
||
|
#endif //GAME
|