Changeset 2438 for code/branches/objecthierarchy2/src/orxonox/objects/infos
- Timestamp:
- Dec 14, 2008, 3:53:05 AM (16 years ago)
- Location:
- code/branches/objecthierarchy2/src/orxonox/objects/infos
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/infos/PlayerInfo.cc
r2428 r2438 115 115 } 116 116 117 void PlayerInfo::startControl(ControllableEntity* entity )117 void PlayerInfo::startControl(ControllableEntity* entity, bool callback) 118 118 { 119 119 if (entity == this->controllableEntity_) … … 121 121 122 122 if (this->controllableEntity_) 123 this->stopControl(this->controllableEntity_ );123 this->stopControl(this->controllableEntity_, callback); 124 124 125 125 this->controllableEntity_ = entity; -
code/branches/objecthierarchy2/src/orxonox/objects/infos/PlayerInfo.h
r2428 r2438 65 65 { return this->bReadyToSpawn_; } 66 66 67 void startControl(ControllableEntity* entity );67 void startControl(ControllableEntity* entity, bool callback = true); 68 68 void stopControl(ControllableEntity* entity, bool callback = true); 69 69
Note: See TracChangeset
for help on using the changeset viewer.