Consertando sumiço misterioso do Makefile
[Projeto-PCG.git] / mapa.h
blob094a1ac2c9824a5a1908a70684cdab57e3d0b5d5
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;
13 class WeaponItem;
15 class Mapa {
16 private:
17 Ponto tamanho;
18 Game *game;
19 std::list<Platform*> platforms;
20 public:
21 std::list<WeaponItem*> items;
22 Mapa(std::string name, Game *g);
23 ~Mapa();
24 void novaPlataforma(double xmin, double ymin, double xmax, double ymax, bool pass);
25 void dropWeapon(std::string name, Ponto p);
26 void desenha();
27 void setSpawn(Ponto spawn);
28 double xmax();
29 double ymax();
30 void setTamanho(double width, double height);
31 void move();
34 #endif