repo.or.cz
/
Projeto-PCG.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Inimigo agora olha para tras. O player jamais!
[Projeto-PCG.git]
/
enemymanager.h
blob
da38cf40c75af12408d54e574654eb6fe3226863
1
#ifndef ENEMYMANAGER_H
2
#define ENEMYMANAGER_H
3
4
#include <set>
5
#include
"luaenv.h"
6
7
class
Enemy
;
8
class
Game
;
9
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
);
24
};
25
26
#endif