Changeset 5774 for code/trunk/src/orxonox/GSRoot.h
- Timestamp:
- Sep 23, 2009, 11:31:02 PM (15 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/GSRoot.h
r5758 r5774 30 30 #define _GSRoot_H__ 31 31 32 #include " gamestates/GameStatesPrereqs.h"32 #include "OrxonoxPrereqs.h" 33 33 #include "core/GameState.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _ GameStatesExport GSRoot : public GameState37 class _OrxonoxExport GSRoot : public GameState 38 38 { 39 39 public: … … 45 45 void update(const Clock& time); 46 46 47 // this has to be public because proteced triggers a bug in msvc48 // when taking the function address.49 void setTimeFactor(float factor);50 void pause();51 float getTimeFactor() { return this->timeFactor_; }52 53 47 private: 54 float timeFactor_; //!< A factor that sets the gamespeed. 1 is normal.55 bool bPaused_;56 float timeFactorPauseBackup_;57 58 LevelManager* levelManager_; //!< global level manager59 60 // console commands61 ConsoleCommand* ccSetTimeFactor_;62 ConsoleCommand* ccPause_;63 48 }; 64 49 }
Note: See TracChangeset
for help on using the changeset viewer.