Consertado spawn do mapa 2
[Projeto-PCG.git] / weaponmanager.h
blobc4bee17addddce65d90ee7949bc5f396f5115046
1 #ifndef WEAPONMANAGER_H
2 #define WEAPONMANAGER_H
4 #include <map>
5 #include <list>
6 #include <string>
8 #include "geometry.h"
10 class Weapon;
11 class WeaponItem;
12 class Game;
13 struct lua_State;
15 class WeaponManager {
16 private:
17 std::list<Weapon*> weapons;
18 lua_State* lstate;
19 Game* game;
20 std::map<std::string, Polygon> collision;
21 public:
22 WeaponManager(Game* g);
23 void loadWeapons();
24 Weapon* getWeapon(std::string name);
25 Polygon getCollision(std::string name);
26 WeaponItem* getItem(std::string name);
29 #endif