Changeset 10760 in orxonox.OLD for branches/presentation/src/world_entities/space_ships
- Timestamp:
- Jun 21, 2007, 2:29:46 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/space_ships/space_ship.cc
r10758 r10760 305 305 306 306 307 dynamic_cast<WorldEntity*>(this)->createHealthWidget();308 dynamic_cast<WorldEntity*>(this)->createShieldWidget();309 dynamic_cast<WorldEntity*>(this)->createElectronicWidget();307 this->createHealthWidget(); 308 this->createShieldWidget(); 309 this->createElectronicWidget(); 310 310 311 311 if ( this->hasPlayer() ){ … … 428 428 void SpaceShip::tick (float time) 429 429 { 430 431 printf("Ship Status: %f, %f\n", this->getHealth(), this->getShield()); 432 430 433 431 if(caminit) 434 432 { … … 1084 1082 void SpaceShip::hit( float damage, WorldEntity * killer ) 1085 1083 { 1086 printf("SS HIT: %f, %f \n", this->getHealth(), this->getShield());1084 PRINTF(4)("SS HIT: %f, %f \n", this->getHealth(), this->getShield()); 1087 1085 Playable::hit( damage, killer ); 1088 PRINTF(4)("SS HIT: %f \n", this->getHealth());1086 PRINTF(4)("SS HIT: %f, %f \n", this->getHealth(), this->getShield()); 1089 1087 } 1090 1088
Note: See TracChangeset
for help on using the changeset viewer.