Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 24, 2008, 9:40:23 PM (16 years ago)
Author:
rgrieder
Message:
  • InputManager works so far, but has to be largely extended
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/orxonox/Orxonox.h

    r1089 r1182  
    4949namespace orxonox {
    5050
     51  class Testconsole;
     52
    5153  enum gameMode{
    5254    SERVER,
     
    5658
    5759  //! Orxonox singleton class
    58   class _OrxonoxExport Orxonox : public InputEventListener
     60  class _OrxonoxExport Orxonox
    5961  {
    6062    public:
     
    7274      static inline float getTimeFactor() { return Orxonox::getSingleton()->timefactor_; }
    7375      static inline void exit() { Orxonox::getSingleton()->abortRequest(); }
     76      static inline void activateConsole();
    7477
    7578   private:
     
    9598      float calculateEventTime(unsigned long, std::deque<unsigned long>&);
    9699
    97       void eventOccured(InputEvent &evt);
    98 
    99100    private:
    100101      GraphicsEngine*       ogre_;          //!< our dearest graphics engine <3
     
    102103      audio::AudioManager*  auMan_;         //!< audio manager
    103104      InputManager*         inputHandler_;  //!< Handles input with key bindings
     105      Testconsole*          console_;
    104106      Ogre::Timer*          timer_;         //!< Main loop timer
    105107      // TODO: make this a config-value by creating a config class for orxonox
Note: See TracChangeset for help on using the changeset viewer.