Changeset 1182 for code/branches/input/src/orxonox/Orxonox.h
- Timestamp:
- Apr 24, 2008, 9:40:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/Orxonox.h
r1089 r1182 49 49 namespace orxonox { 50 50 51 class Testconsole; 52 51 53 enum gameMode{ 52 54 SERVER, … … 56 58 57 59 //! Orxonox singleton class 58 class _OrxonoxExport Orxonox : public InputEventListener60 class _OrxonoxExport Orxonox 59 61 { 60 62 public: … … 72 74 static inline float getTimeFactor() { return Orxonox::getSingleton()->timefactor_; } 73 75 static inline void exit() { Orxonox::getSingleton()->abortRequest(); } 76 static inline void activateConsole(); 74 77 75 78 private: … … 95 98 float calculateEventTime(unsigned long, std::deque<unsigned long>&); 96 99 97 void eventOccured(InputEvent &evt);98 99 100 private: 100 101 GraphicsEngine* ogre_; //!< our dearest graphics engine <3 … … 102 103 audio::AudioManager* auMan_; //!< audio manager 103 104 InputManager* inputHandler_; //!< Handles input with key bindings 105 Testconsole* console_; 104 106 Ogre::Timer* timer_; //!< Main loop timer 105 107 // TODO: make this a config-value by creating a config class for orxonox
Note: See TracChangeset
for help on using the changeset viewer.