- Timestamp:
- Dec 10, 2008, 10:08:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/gamestates/GSRoot.h
r2344 r2400 47 47 { requestState("root"); } 48 48 49 // this has to be public because proteced triggers a bug in msvc 50 // when taking the function address. 51 void setTimeFactor(float factor); 52 float getTimeFactor() { return this->timeFactor_; } 53 49 54 private: 50 55 void enter(); … … 55 60 void setThreadAffinity(unsigned int limitToCPU); 56 61 62 float timeFactor_; //!< A factor that sets the gamespeed. 1 is normal. 57 63 Settings* settings_; 58 64 TclBind* tclBind_; … … 64 70 ConsoleCommand* ccExit_; 65 71 ConsoleCommand* ccSelectGameState_; 72 ConsoleCommand* ccSetTimeFactor_; 66 73 }; 67 74 }
Note: See TracChangeset
for help on using the changeset viewer.