vrshoot
annotate src/level.h @ 2:334d17aed7de
visual studio project files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 18:36:38 +0200 |
parents | b2f14e535253 |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef LEVEL_H_ |
nuclear@0 | 2 #define LEVEL_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <list> |
nuclear@0 | 5 #include "enemy.h" |
nuclear@0 | 6 #include "mesh.h" |
nuclear@0 | 7 #include "object.h" |
nuclear@0 | 8 |
nuclear@0 | 9 class Level { |
nuclear@0 | 10 private: |
nuclear@0 | 11 Object *tile_obj; |
nuclear@0 | 12 Mesh tile_mesh; |
nuclear@0 | 13 std::list<Enemy> enemies; |
nuclear@0 | 14 |
nuclear@0 | 15 float dlimit_near, dlimit_far; |
nuclear@1 | 16 float fly_speed; |
nuclear@0 | 17 |
nuclear@0 | 18 public: |
nuclear@0 | 19 Level(); |
nuclear@0 | 20 ~Level(); |
nuclear@0 | 21 |
nuclear@0 | 22 void set_draw_limits(float dnear, float dfar); |
nuclear@0 | 23 |
nuclear@1 | 24 void draw(long msec) const; |
nuclear@0 | 25 }; |
nuclear@0 | 26 |
nuclear@0 | 27 #endif // LEVEL_H_ |