Changeset 8533 for code/branches/gameimmersion/src/orxonox
- Timestamp:
- May 23, 2011, 2:26:25 PM (13 years ago)
- Location:
- code/branches/gameimmersion/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/orxonox/weaponsystem/WeaponMode.h
r8386 r8533 104 104 // Fire 105 105 inline void setDamage(float damage) 106 { this->damage_ = damage; COUT(3) << "DAMAGE-SET-FUNKTION (WeaponMode) WIRD AUFGERUFEN" << endl;}106 { this->damage_ = damage;} 107 107 inline float getDamage() const 108 108 { return this->damage_; } … … 115 115 116 116 inline void setShieldDamage(float shielddamage) 117 { this->shielddamage_ = shielddamage;} //ShieldDamage wird korrekt gesettet vom XML-File117 { this->shielddamage_ = shielddamage;} 118 118 inline float getShieldDamage() const 119 119 { return this->shielddamage_; } -
code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.cc
r8492 r8533 249 249 } 250 250 251 else { COUT(3) << "## SHIELD : " << this->getShieldHealth() << endl; }251 // else { COUT(3) << "## SHIELD : " << this->getShieldHealth() << endl; } 252 252 253 253 this->setHealth(this->health_ - healthdamage); … … 319 319 void Pawn::hit(Pawn* originator, const Vector3& force, float damage, float healthdamage, float shielddamage) 320 320 { 321 COUT(3) << "neue hit-Funktion wurde aufgerufen // " << std::flush;321 // COUT(3) << "neue hit-Funktion wurde aufgerufen // " << std::flush; 322 322 if (this->getGametype() && this->getGametype()->allowPawnHit(this, originator) && (!this->getController() || !this->getController()->getGodMode()) ) 323 323 {
Note: See TracChangeset
for help on using the changeset viewer.