- Timestamp:
- Dec 11, 2008, 3:06:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/gamestates/GSRoot.h
r2400 r2406 72 72 ConsoleCommand* ccSetTimeFactor_; 73 73 }; 74 75 class _OrxonoxExport TimeFactorListener : virtual public OrxonoxClass 76 { 77 friend class GSRoot; 78 79 public: 80 TimeFactorListener(); 81 virtual ~TimeFactorListener() {} 82 83 protected: 84 virtual void changedTimeFactor(float factor_new, float factor_old) {} 85 inline float getTimeFactor() const 86 { return TimeFactorListener::timefactor_s; } 87 88 private: 89 static float timefactor_s; 90 }; 74 91 } 75 92
Note: See TracChangeset
for help on using the changeset viewer.