Suporte a IR, talvez...
[Projeto-PCG.git] / game.h
blob621ef20004b7b516ed5db44b0bdb4eb913a0ec8d
1 #ifndef GAME_H
2 #define GAME_H
4 #include <string>
5 #include "gravity.h"
6 #include "mapa.h"
7 #include "weaponmanager.h"
8 #include "configmanager.h"
9 #include "collision.h"
11 class Player;
12 class Mapa;
13 class ShotManager;
15 class Game {
16 private:
17 void show();
18 void loadMap(std::string mapname);
19 std::string currentMap;
20 Ponto spawn;
21 public:
22 ConfigManager *config;
23 CollisionManager* collisionManager;
24 WeaponManager* weaponManager;
25 ShotManager* shotManager;
26 double rate;
27 Ponto camera;
28 Game(ConfigManager *cfg);
29 void mainLoop();
30 void desenhaMira(Ponto aim);
31 Player *player;
32 Mapa *mapa;
33 void addPlatform(Platform* plat);
34 GravityManager *gravityManager;
35 void reloadLua();
36 void removePlatforms();
37 void setSpawn(Ponto spawn);
38 Ponto getSpawn() {return spawn;}
39 void resize(GLsizei x, GLsizei y);
42 #endif