stratgame

view src/game_part.h @ 4:cd12944a8ea8

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 25 May 2012 05:28:20 +0300
parents 8d95187cb3ee
children
line source
1 #ifndef GAME_PART_H_
2 #define GAME_PART_H_
4 #include "part.h"
5 #include "level.h"
7 class Game : public Part {
8 private:
9 Level level;
10 float cam_theta, cam_phi, cam_dist;
12 public:
13 Game();
14 ~Game();
16 bool init();
18 void start();
20 void draw() const;
21 void reshape(int x, int y);
22 void key(int key, bool pressed);
23 void mouse_button(int bn, bool pressed);
24 void mouse_motion(int x, int y);
25 };
27 #endif // GAME_PART_H_