Changeset 1654 for code/branches/gui/src/orxonox/Orxonox.h
- Timestamp:
- Aug 5, 2008, 9:55:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/Orxonox.h
r1653 r1654 62 62 void abortRequest(); 63 63 64 static Orxonox& get Singleton();64 static Orxonox& getInstance(); 65 65 66 66 static void slomo(float factor) { Orxonox::setTimeFactor(factor); } 67 static float getTimeFactor() { return Orxonox::get Singleton().timefactor_; }67 static float getTimeFactor() { return Orxonox::getInstance().timefactor_; } 68 68 static void loadGame(const std::string& name); 69 static void exit() { Orxonox::get Singleton().abortRequest(); }69 static void exit() { Orxonox::getInstance().abortRequest(); } 70 70 static void setTimeFactor(float factor = 1.0); 71 71
Note: See TracChangeset
for help on using the changeset viewer.