Last Hour Pack
[Projeto-PCG.git] / controle.h
blobcc735df1856f84567558218ac0c8019e4c095470
1 #ifndef CONTROLE_H
2 #define CONTROLE_H
4 #include "player.h"
6 class Controle {
7 protected:
8 Player &jogador;
9 bool quit;
10 public:
11 Controle(Player &p);
12 void handleEvents();
13 virtual void handleEvent(SDL_Event &e) = 0;
14 virtual void handleOther() = 0;
15 bool getQuit() {return quit;};
18 #endif