repo.or.cz
/
Projeto-PCG.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Consertando sumiço misterioso do Makefile
[Projeto-PCG.git]
/
controle.h
blob
64110b78267bdb46197b73f2358249d3790b0320
1
#ifndef CONTROLE_H
2
#define CONTROLE_H
3
4
#include
"player.h"
5
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
;};
18
};
19
20
#endif