Changeset 8544 for code/branches/dockingsystem2/src/orxonox
- Timestamp:
- May 23, 2011, 4:12:27 PM (14 years ago)
- Location:
- code/branches/dockingsystem2/src/orxonox/infos
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dockingsystem2/src/orxonox/infos/PlayerInfo.cc
r8382 r8544 213 213 } 214 214 215 void PlayerInfo::pauseControl() 216 { 217 ControllableEntity* entity = this->controllableEntity_; 218 219 if (!entity) 220 return; 221 222 this->controllableEntity_->getController()->setActive(false); 223 //this->controllableEntity_->getController()->setControllableEntity(NULL); 224 this->controllableEntity_->setController(0); 225 } 226 215 227 void PlayerInfo::stopTemporaryControl() 216 228 { -
code/branches/dockingsystem2/src/orxonox/infos/PlayerInfo.h
r8289 r8544 68 68 void startControl(ControllableEntity* entity); 69 69 void stopControl(); 70 void pauseControl(); 70 71 void startTemporaryControl(ControllableEntity* entity); 71 72 void stopTemporaryControl();
Note: See TracChangeset
for help on using the changeset viewer.