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
Mapa agora feito em lua :D
[Projeto-PCG.git]
/
mapa.h
blob
a5a82fe573d0e3610caa03c1e5b03b8b94427176
1
#ifndef MAPA_H
2
#define MAPA_H
3
4
#include <list>
5
#include <string>
6
7
#include
"player.h"
8
#include
"geometry.h"
9
#include
"platform.h"
10
#include
"game.h"
11
12
class
Player
;
13
class
Game
;
14
15
class
Mapa
{
16
private
:
17
Ponto tamanho
;
18
Game
*
game
;
19
std
::
list
<
Platform
*>
linhas
;
20
public
:
21
Mapa
(
std
::
string name
,
Game
*
g
);
22
void
novaPlataforma
(
double
xmin
,
double
ymin
,
double
xmax
,
double
ymax
,
bool
pass
);
23
void
desenha
();
24
double
xmax
();
25
double
ymax
();
26
void
setTamanho
(
double
width
,
double
height
);
27
};
28
29
#endif