Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

physics.h

00001 #ifndef DEF_PHYSICS_H 00002 #define DEF_PHYSICS_H 1 00003 00007 class PhysicHandler { 00008 public: 00009 PhysicHandler(); 00010 ~PhysicHandler(); 00012 void update(); 00013 Uint16 getFPS() { 00014 return currentfps; 00015 } 00016 Uint16 getMinFPS() { 00017 return minfps; 00018 } 00019 private: 00020 Uint16 tstart, tcurrent, dt; 00021 bool reset_time; 00022 Uint16 Dfps,Dframes,currentfps,minfps; 00023 private: 00024 inline void updateGame(); 00025 inline void updateEdit(); 00026 inline void updatePaused(); 00027 inline void updateFPS(); 00028 }; 00029 00030 #endif

Generated on Sun Feb 5 13:02:35 2006 for Lost Penguins by doxygen 1.3.8