Changeset 1670 for code/branches/gui/src/orxonox/gamestates/GSLevel.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/GSLevel.h
r1662 r1670 38 38 { 39 39 public: 40 GSLevel( );41 ~GSLevel();40 GSLevel(const std::string& name); 41 virtual ~GSLevel(); 42 42 43 bool tick(float dt); 43 // this has to be public because proteced triggers a bug in msvc 44 // when taking the function address. 45 void setTimeFactor(float factor); 46 float getTimeFactor() { return this->timefactor_; } 47 48 protected: 49 virtual void enter(); 50 virtual void leave(); 51 virtual void ticked(float dt); 52 53 void loadLevel(); 54 void unloadLevel(); 44 55 45 56 private: 46 void enter();47 void leave();48 49 void setTimeFactor(float factor);50 57 51 58 float timefactor_; //!< A factor to change the gamespeed 52 59 53 60 KeyBinder* keyBinder_; //!< tool that loads and manages the input bindings 61 SimpleInputState* inputState_; 54 62 Radar* radar_; //!< represents the Radar (not the HUD part) 55 63 Level* startLevel_; //!< current hard coded default level
Note: See TracChangeset
for help on using the changeset viewer.