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
Inimigos e players afetados pelos tiros
[Projeto-PCG.git]
/
collision.h
blob
71bff16a38b878e1cce9fe7eccba1f2330a2a416
1
#ifndef COLLISION_H
2
#define COLLISION_H
3
4
#include <set>
5
#include
"thing.h"
6
7
class
CollisionManager
{
8
private
:
9
std
::
set
<
Thing
*>
things
;
10
public
:
11
bool
checkCollision
(
Thing
*
a
,
Thing
*
b
);
12
void
subscribe
(
Thing
*
thing
);
13
void
remove
(
Thing
*
thing
);
14
void
update
();
15
};
16
17
#endif