spirit/src/game/game.h

19 lines
274 B
C
Raw Permalink Normal View History

2022-07-08 16:34:08 +00:00
#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