Changeset 2844 for code/branches/gui/src/orxonox/gamestates/GSRoot.h
- Timestamp:
- Mar 25, 2009, 5:23:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gamestates/GSRoot.h
r2843 r2844 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <list> 35 #include "core/RootGameState.h" 33 #include "core/GameState.h" 36 34 #include "core/OrxonoxClass.h" 37 35 38 36 namespace orxonox 39 37 { 40 class _OrxonoxExport GSRoot : public RootGameState38 class _OrxonoxExport GSRoot : public GameState 41 39 { 42 friend class ClassIdentifier<GSRoot>; 40 public: 41 GSRoot(const std::string& name); 42 ~GSRoot(); 43 43 44 public: 45 46 public: 47 GSRoot(); 48 ~GSRoot(); 44 void activate(); 45 void deactivate(); 46 void update(const Clock& time); 49 47 50 48 // this has to be public because proteced triggers a bug in msvc … … 55 53 56 54 private: 57 void enter();58 void leave();59 void ticked(const Clock& time);60 61 55 float timeFactor_; //!< A factor that sets the gamespeed. 1 is normal. 62 56 bool bPaused_; … … 64 58 65 59 // console commands 66 ConsoleCommand* ccSelectGameState_;67 60 ConsoleCommand* ccSetTimeFactor_; 68 61 ConsoleCommand* ccPause_;
Note: See TracChangeset
for help on using the changeset viewer.