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
Acho que consegui corrigi a ponta das armas
[Projeto-PCG.git]
/
collision.h
blob
8998e18fee4fc8ee6c0c4b0bc2f9a9a2516870b7
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
void
checkCollision
(
Thing
*
a
,
Thing
*
b
);
11
public
:
12
void
subscribe
(
Thing
*
thing
);
13
void
remove
(
Thing
*
thing
);
14
void
update
();
15
};
16
17
#endif