vrshoot
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/level.h Sat Feb 01 19:58:19 2014 +0200 1.3 @@ -0,0 +1,26 @@ 1.4 +#ifndef LEVEL_H_ 1.5 +#define LEVEL_H_ 1.6 + 1.7 +#include <list> 1.8 +#include "enemy.h" 1.9 +#include "mesh.h" 1.10 +#include "object.h" 1.11 + 1.12 +class Level { 1.13 +private: 1.14 + Object *tile_obj; 1.15 + Mesh tile_mesh; 1.16 + std::list<Enemy> enemies; 1.17 + 1.18 + float dlimit_near, dlimit_far; 1.19 + 1.20 +public: 1.21 + Level(); 1.22 + ~Level(); 1.23 + 1.24 + void set_draw_limits(float dnear, float dfar); 1.25 + 1.26 + void draw() const; 1.27 +}; 1.28 + 1.29 +#endif // LEVEL_H_