Changeset 1035 for code/trunk/src/orxonox/objects
- Timestamp:
- Apr 12, 2008, 11:23:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/SpaceShip.cc
r1032 r1035 417 417 void SpaceShip::tick(float dt) 418 418 { 419 if (InputManager::getSingleton() ->getMouse()->getEventCallback() != this)420 { 421 if (InputManager::getSingleton() ->getMouse())419 if (InputManager::getSingleton().getMouse()->getEventCallback() != this) 420 { 421 if (InputManager::getSingleton().getMouse()) 422 422 { 423 InputManager::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 = InputManager::getSingleton() ->getKeyboard();449 OIS::Mouse* mMouse = InputManager::getSingleton() ->getMouse();448 OIS::Keyboard* mKeyboard = InputManager::getSingleton().getKeyboard(); 449 OIS::Mouse* mMouse = InputManager::getSingleton().getMouse(); 450 450 451 451
Note: See TracChangeset
for help on using the changeset viewer.