Inimigo agora olha para tras. O player jamais!
[Projeto-PCG.git] / enemymanager.h
blobda38cf40c75af12408d54e574654eb6fe3226863
1 #ifndef ENEMYMANAGER_H
2 #define ENEMYMANAGER_H
4 #include <set>
5 #include "luaenv.h"
7 class Enemy;
8 class Game;
10 class EnemyManager {
11 private:
12 lua_State* lstate;
13 Game* game;
14 std::set<Enemy*> enemies;
15 public:
16 EnemyManager(Game* g);
17 void loadEnemies();
18 Enemy* createEnemy(std::string name);
19 void animate();
20 void think();
21 void desenha();
22 void move();
23 void remove(Enemy* enemy);
26 #endif