Acho que consegui corrigi a ponta das armas
[Projeto-PCG.git] / mapa.h
blob36e53ffe697b5194a029b8ddd4f9363a12065d5e
1 #ifndef MAPA_H
2 #define MAPA_H
4 #include <list>
5 #include <string>
7 #include "geometry.h"
8 #include "platform.h"
9 #include "game.h"
11 class Player;
12 class Game;
14 class Mapa {
15 private:
16 Ponto tamanho;
17 Game *game;
18 std::list<Platform*> platforms;
19 public:
20 Mapa(std::string name, Game *g);
21 ~Mapa();
22 void novaPlataforma(double xmin, double ymin, double xmax, double ymax, bool pass);
23 void desenha();
24 void setSpawn(Ponto spawn);
25 double xmax();
26 double ymax();
27 void setTamanho(double width, double height);
30 #endif