47 std::unique_ptr<Game>
game;
This class is responsible for running the game loop and processing events.
Definition: GameController.h:17
int state
Definition: GameController.h:48
std::unique_ptr< Game > game
Definition: GameController.h:47
void run()
This function runs the game loop.
Definition: GameController.cpp:44
GameController()
Construct a new Game Controller object.
Definition: GameController.cpp:3
void processEvent(const SDL_Event &event)
This function processes events.
Definition: GameController.cpp:10
~GameController()
Definition: GameController.cpp:8
bool quitGame
Definition: GameController.h:46
#define STARTING
Definition: constants.h:29