spirit/src/game/game.h
2022-07-08 21:34:08 +05:00

19 lines
No EOL
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