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
Gambiarra sobre erro em Shooter::getCollision
[Projeto-PCG.git]
/
controle.h
blob
30d3de1ae3b0fe3c9b1782b9849629aefd1edb84
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
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
;};
17
};
18
19
#endif