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
Linhas mais espessas, anti-aliasing e pontos melhor definidos.
[Projeto-PCG.git]
/
gravity.h
blob
883269ae321595116c66e96b2a24cc97e58a2fb0
1
#ifndef GRAVITY_H
2
#define GRAVITY_H
3
4
#include <set>
5
#include
"geometry.h"
6
#include
"thing.h"
7
8
class
GravityManager
{
9
private
:
10
std
::
set
<
Thing
*>
things
;
11
std
::
set
<
Linha
*>
plataforms
;
12
bool
checkGround
(
Thing
*
thing
,
Linha
*
plataform
);
13
public
:
14
void
subscribe
(
Thing
*
thing
);
15
void
addPlataform
(
Linha
*
linha
);
16
void
update
();
17
};
18
19
#endif