Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/physics/src/subprojects/particles/framework.h @ 4300

Last change on this file since 4300 was 4300, checked in by bensch, 19 years ago

orxonox/branches/physics: flush for merge

File size: 515 bytes
Line 
1#ifndef _FRAMEWORK_H
2#define _FRAMEWORK_H
3 
4#include "vector.h"
5#include "glincl.h"
6
7
8#define DATA_DIRECTORY "~/svn/data/"
9
10class Camera;
11
12class Framework {
13 private:
14  Camera* camera;
15 
16  int movement [4];
17 
18  Uint32 lastFrame;
19  Uint32 currFrame;
20   
21  Uint8* keys; // This variable will be used in the keyboard routine
22  bool mouse1Down;
23  bool mouse2Down;
24
25 public:
26  Framework();
27  ~Framework();
28 
29  bool mainLoop();
30  bool draw(float dt);
31  float tick();
32  bool keyHandler();
33};
34#endif /* _FRAMEWORK_H */
Note: See TracBrowser for help on using the repository browser.