Consertando sumiço misterioso do Makefile
[Projeto-PCG.git] / controle.h
blob64110b78267bdb46197b73f2358249d3790b0320
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 Mapa* map;
12 public:
13 Controle(Player &p);
14 void handleEvents();
15 virtual void handleEvent(SDL_Event &e) = 0;
16 virtual void handleOther() = 0;
17 bool getQuit() {return quit;};
20 #endif