19 lines
No EOL
274 B
C++
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
|