Commit | Line | Data |
---|---|---|
1 | #ifndef ENTITYMANAGER_H | |
2 | #define ENTITYMANAGER_H | |
3 | ||
4 | #include "Entities/Entity.h" | |
5 | ||
6 | /// ***** Header Methods ***** | |
7 | namespace manager | |
8 | { | |
9 | void init(); | |
10 | void clean(); | |
11 | ||
12 | // does not new or delete Entities | |
13 | void add(Entity*); | |
14 | void remove(Entity*); | |
15 | void clear(); | |
16 | ||
17 | void update(float); | |
18 | void draw(); | |
19 | void handleInput(); | |
20 | } | |
21 | #endif // ENTITYMANAGER_H |