Changeset 6415 in orxonox.OLD for branches/network/src/world_entities/world_entity.cc
- Timestamp:
- Jan 6, 2006, 3:23:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/world_entity.cc
r6341 r6415 35 35 ->defaultValues(2, "models/ships/fighter.obj", 1.0); 36 36 37 SHELL_COMMAND(debugEntity, WorldEntity, debugWE); 37 38 38 39 /** … … 343 344 } 344 345 346 347 /** 348 * Debug the WorldEntity 349 */ 350 void WorldEntity::debugWE() 351 { 352 PRINT(0)("WorldEntity %s::%s (DEBUG)\n", this->getClassName(), this->getName()); 353 PRINT(0)("ModelCount %d - ", this->models.size()); 354 for (unsigned int i = 0; i < this->models.size(); i++) 355 { 356 if (models[i] != NULL) 357 PRINT(0)(" : %d:%s", i, this->models[i]->getName()); 358 } 359 PRINT(0)("\n"); 360 361 } 362 363 345 364 /** 346 365 * Writes data from network containing information about the state
Note: See TracChangeset
for help on using the changeset viewer.