Changeset 973 for code/branches/input/src/orxonox/objects
- Timestamp:
- Apr 3, 2008, 10:23:37 AM (17 years ago)
- Location:
- code/branches/input/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/objects/Fighter.cc
r929 r973 39 39 #include "core/CoreIncludes.h" 40 40 #include "Orxonox.h" 41 #include " InputHandler.h"41 #include "core/InputManager.h" 42 42 #include "particle/ParticleInterface.h" 43 43 #include "weapon/AmmunitionDump.h" … … 255 255 if (!this->setMouseEventCallback_) 256 256 { 257 if (Input Handler::getSingleton()->getMouse())257 if (InputManager::getSingleton()->getMouse()) 258 258 { 259 Input Handler::getSingleton()->getMouse()->setEventCallback(this);259 InputManager::getSingleton()->getMouse()->setEventCallback(this); 260 260 this->setMouseEventCallback_ = true; 261 261 } … … 264 264 WorldEntity::tick(dt); 265 265 266 OIS::Keyboard* mKeyboard = Input Handler::getSingleton()->getKeyboard();267 OIS::Mouse* mMouse = Input Handler::getSingleton()->getMouse();266 OIS::Keyboard* mKeyboard = InputManager::getSingleton()->getKeyboard(); 267 OIS::Mouse* mMouse = InputManager::getSingleton()->getMouse(); 268 268 269 269 mKeyboard->capture(); -
code/branches/input/src/orxonox/objects/SpaceShip.cc
r929 r973 42 42 #include "core/Debug.h" 43 43 #include "Orxonox.h" 44 #include " InputHandler.h"44 #include "core/InputManager.h" 45 45 #include "particle/ParticleInterface.h" 46 46 #include "Projectile.h" … … 419 419 if (!this->setMouseEventCallback_) 420 420 { 421 if (Input Handler::getSingleton()->getMouse())421 if (InputManager::getSingleton()->getMouse()) 422 422 { 423 Input Handler::getSingleton()->getMouse()->setEventCallback(this);423 InputManager::getSingleton()->getMouse()->setEventCallback(this); 424 424 this->setMouseEventCallback_ = true; 425 425 } … … 446 446 } 447 447 448 OIS::Keyboard* mKeyboard = Input Handler::getSingleton()->getKeyboard();449 OIS::Mouse* mMouse = Input Handler::getSingleton()->getMouse();448 OIS::Keyboard* mKeyboard = InputManager::getSingleton()->getKeyboard(); 449 OIS::Mouse* mMouse = InputManager::getSingleton()->getMouse(); 450 450 451 451 mKeyboard->capture();
Note: See TracChangeset
for help on using the changeset viewer.