vrshoot
view src/level.h @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children | e7ca128b8713 |
line source
1 #ifndef LEVEL_H_
2 #define LEVEL_H_
4 #include <list>
5 #include "enemy.h"
6 #include "mesh.h"
7 #include "object.h"
9 class Level {
10 private:
11 Object *tile_obj;
12 Mesh tile_mesh;
13 std::list<Enemy> enemies;
15 float dlimit_near, dlimit_far;
17 public:
18 Level();
19 ~Level();
21 void set_draw_limits(float dnear, float dfar);
23 void draw() const;
24 };
26 #endif // LEVEL_H_