Changeset 8461 for code/trunk/src/orxonox
- Timestamp:
- May 12, 2011, 2:38:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/worldentities/SpaceBoundaries.cc
r8458 r8461 191 191 this->checkWhoIsIn(); 192 192 this->removeAllBillboards(); 193 COUT(0) << "Groesse der Liste: " << (int) pawnsIn_.size() << std::endl;193 //COUT(0) << "Groesse der Liste: " << (int) pawnsIn_.size() << std::endl; 194 194 195 195 float distance; … … 202 202 distance = this->computeDistance(currentPawn); 203 203 humanItem = this->isHumanPlayer(currentPawn); 204 COUT(0) << "Distanz:" << distance << std::endl; // message for debugging204 //COUT(0) << "Distanz:" << distance << std::endl; // message for debugging 205 205 if(distance > this->warnDistance_ && distance < this->maxDistance_) // Zeige Warnung an! 206 206 { 207 COUT(0) << "You are near by the boundaries!" << std::endl; // message for debugging207 //COUT(0) << "You are near by the boundaries!" << std::endl; // message for debugging 208 208 if(humanItem) 209 209 { 210 COUT(0) << "humanItem ist true" << std::endl;210 //COUT(0) << "humanItem ist true" << std::endl; 211 211 this->displayWarning("Attention! You are near by the boundaries!"); 212 212 } … … 220 220 if( humanItem ) 221 221 { 222 COUT(0) << "Health should be decreasing!" << std::endl;222 //COUT(0) << "Health should be decreasing!" << std::endl; 223 223 this->displayWarning("You are out of the area now!"); 224 224 }
Note: See TracChangeset
for help on using the changeset viewer.