Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2014, 10:38:09 PM (10 years ago)
Author:
noep
Message:

Added explosions. (Because who doesn't love explosions.) Added printing health-status of shipparts to chat. Removed more debug-output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/src/orxonox/worldentities/pawns/ModularSpaceShip.cc

    r10058 r10067  
    108108                    // An entry in the partMap_ is created, assigning the part to the entity.
    109109                    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 debug
    112110                }
    113111            }
    114112        }
    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                 }
    121113    }
    122114
     
    147139
    148140        this->partMap_[entity] = part;
    149 
    150         orxout() << "New entity-part assignment created!" << endl;
    151141    }
    152142
Note: See TracChangeset for help on using the changeset viewer.