Changeset 1670 for code/branches/gui/src/orxonox/gamestates/GSRoot.h
- Timestamp:
- Aug 26, 2008, 4:26:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gamestates/GSRoot.h
r1664 r1670 42 42 43 43 void feedCommandLine(int argc, char** argv); 44 bool tick(float dt);45 44 void loadGame(const std::string& name); 45 46 void exitGame() 47 { requestState("root"); } 48 bool isGameFinished() { return (this->getActiveChild() == 0); } 46 49 47 50 private: 48 51 void enter(); 49 52 void leave(); 53 void ticked(float dt); 50 54 51 55 Settings* settings_; 52 56 GraphicsEngine* graphicsEngine_; //!< our dearest graphics engine <3 57 bool bExit_; 53 58 }; 54 59 }
Note: See TracChangeset
for help on using the changeset viewer.