Gambiarra sobre erro em Shooter::getCollision
[Projeto-PCG.git] / controle.h
blob30d3de1ae3b0fe3c9b1782b9849629aefd1edb84
1 #ifndef CONTROLE_H
2 #define CONTROLE_H
4 #include "player.h"
6 class Controle {
7 protected:
8 Player &jogador;
9 bool quit;
10 Game* game;
11 public:
12 Controle(Player &p);
13 void handleEvents();
14 virtual void handleEvent(SDL_Event &e) = 0;
15 virtual void handleOther() = 0;
16 bool getQuit() {return quit;};
19 #endif