- Timestamp:
- May 21, 2014, 10:38:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/modularships/src/orxonox/worldentities/pawns/ModularSpaceShip.cc
r10058 r10067 108 108 // An entry in the partMap_ is created, assigning the part to the entity. 109 109 this->addPartEntityAssignment((StaticEntity*)(this->getAttachedObject(i)), this->partList_[j]); 110 orxout() << "A matching part-entity-pair with name " << this->partList_[j]->getName() << " was found!" << endl;111 this->partList_[j]->printEntities(); // FIXME: (noep) remove debug112 110 } 113 111 } 114 112 } 115 116 orxout() << "List of all assignments:" << endl;117 for (std::map<StaticEntity*, ShipPart*>::const_iterator it = this->partMap_.begin(); it != this->partMap_.end(); ++it)118 {119 orxout() << "Entity: " << it->first << " Part: " << it->second << endl;120 }121 113 } 122 114 … … 147 139 148 140 this->partMap_[entity] = part; 149 150 orxout() << "New entity-part assignment created!" << endl;151 141 } 152 142
Note: See TracChangeset
for help on using the changeset viewer.