Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 24, 2008, 9:40:23 PM (17 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/objects/SpaceShip.cc

    r1064 r1182  
    428428    void SpaceShip::tick(float dt)
    429429    {
    430       if (InputManager::getSingleton().getMouse()->getEventCallback() != this)
    431         {
    432             if (InputManager::getSingleton().getMouse())
     430      if (InputManager::getMouse()->getEventCallback() != this)
     431        {
     432            if (InputManager::getMouse())
    433433            {
    434                 InputManager::getSingleton().getMouse()->setEventCallback(this);
     434                InputManager::getMouse()->setEventCallback(this);
    435435                this->setMouseEventCallback_ = true;
    436436            }
     
    457457        }
    458458
    459         OIS::Keyboard* mKeyboard = InputManager::getSingleton().getKeyboard();
     459        OIS::Keyboard* mKeyboard = InputManager::getKeyboard();
    460460        //FIXME: variable never used
    461461        //OIS::Mouse* mMouse = InputManager::getSingleton().getMouse();
Note: See TracChangeset for help on using the changeset viewer.