Changeset 1672 for code/branches/gui/src/orxonox/gamestates/GSRoot.h
- Timestamp:
- Aug 27, 2008, 10:21:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gamestates/GSRoot.h
r1670 r1672 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include "core/ GameState.h"33 #include "core/RootGameState.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _OrxonoxExport GSRoot : public GameState37 class _OrxonoxExport GSRoot : public RootGameState 38 38 { 39 39 public: … … 42 42 43 43 void feedCommandLine(int argc, char** argv); 44 void loadGame(const std::string& name);45 44 46 45 void exitGame() 47 46 { requestState("root"); } 48 bool isGameFinished() { return (this->getActiveChild() == 0); }49 47 50 48 private: 51 49 void enter(); 52 50 void leave(); 53 void ticked(float dt );51 void ticked(float dt, uint64_t time); 54 52 55 53 Settings* settings_; 56 GraphicsEngine* graphicsEngine_; //!< our dearest graphics engine <3 57 bool bExit_; 54 GraphicsEngine* graphicsEngine_; //!< Interface to Ogre 58 55 }; 59 56 } 60 57 61 #endif /* _GS Graphics_H__ */58 #endif /* _GSRoot_H__ */
Note: See TracChangeset
for help on using the changeset viewer.