Changeset 1022 for code/branches/input/src/orxonox/objects
- Timestamp:
- Apr 10, 2008, 5:12:02 PM (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
r973 r1022 267 267 OIS::Mouse* mMouse = InputManager::getSingleton()->getMouse(); 268 268 269 mKeyboard->capture();270 mMouse->capture();269 //mKeyboard->capture(); 270 //mMouse->capture(); 271 271 272 272 if (leftButtonPressed_) -
code/branches/input/src/orxonox/objects/SpaceShip.cc
r973 r1022 417 417 void SpaceShip::tick(float dt) 418 418 { 419 if (!this->setMouseEventCallback_)419 if (InputManager::getSingleton()->getMouse()->getEventCallback() != this) 420 420 { 421 421 if (InputManager::getSingleton()->getMouse()) … … 448 448 OIS::Keyboard* mKeyboard = InputManager::getSingleton()->getKeyboard(); 449 449 OIS::Mouse* mMouse = InputManager::getSingleton()->getMouse(); 450 451 mKeyboard->capture();452 mMouse->capture();453 450 454 451
Note: See TracChangeset
for help on using the changeset viewer.