Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 10, 2008, 5:35:49 PM (17 years ago)
Author:
rgrieder
Message:

merged input back into trunk
note: I have created an asylum with obsolete code, please check the files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Fighter.cc

    r1021 r1024  
    3939#include "core/CoreIncludes.h"
    4040#include "Orxonox.h"
    41 #include "InputHandler.h"
     41#include "core/InputManager.h"
    4242#include "particle/ParticleInterface.h"
    4343#include "weapon/AmmunitionDump.h"
     
    255255        if (!this->setMouseEventCallback_)
    256256        {
    257             if (InputHandler::getSingleton()->getMouse())
     257            if (InputManager::getSingleton()->getMouse())
    258258            {
    259                 InputHandler::getSingleton()->getMouse()->setEventCallback(this);
     259                InputManager::getSingleton()->getMouse()->setEventCallback(this);
    260260                this->setMouseEventCallback_ = true;
    261261            }
     
    264264        WorldEntity::tick(dt);
    265265
    266         OIS::Keyboard* mKeyboard = InputHandler::getSingleton()->getKeyboard();
    267         OIS::Mouse* mMouse = InputHandler::getSingleton()->getMouse();
    268 
    269         mKeyboard->capture();
    270         mMouse->capture();
     266        OIS::Keyboard* mKeyboard = InputManager::getSingleton()->getKeyboard();
     267        OIS::Mouse* mMouse = InputManager::getSingleton()->getMouse();
     268
     269        //mKeyboard->capture();
     270        //mMouse->capture();
    271271
    272272        if (leftButtonPressed_)
Note: See TracChangeset for help on using the changeset viewer.