- Timestamp:
- May 23, 2011, 3:54:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/projectiles/Projectile.h
r8538 r8542 23 23 * Fabian 'x3n' Landau 24 24 * Co-authors: 25 * ...25 * simonmie 26 26 * 27 27 */ … … 51 51 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); 52 52 53 /* inline void setDamage(float damage)54 { this->damage_ = damage; COUT(3) << "DAMAGE-SET-FUNKTION WIRD AUFGERUFEN" << endl; }55 inline float getDamage() const56 { return this->damage_; }57 */58 59 60 53 void setOwner(Pawn* owner); 61 54 inline Pawn* getOwner() const 62 55 { return this->owner_; } 63 56 64 /*///////////////////me65 66 inline void setHealthDamage(float healthdamage)67 { this->healthdamage_ = healthdamage; }68 inline float getHealthDamage() const69 { return this->healthdamage_; }70 71 inline void setShieldDamage(float shielddamage)72 { this->shielddamage_ = shielddamage; COUT(3) << "SHIELDDAMAGE SET TO " << shielddamage << endl; } //ShieldDamage wird korrekt gesettet vom XML-File73 inline float getShieldDamage() const74 { return this->shielddamage_; }75 76 ///////////////////end me77 */78 57 79 58 private: 80 59 WeakPtr<Pawn> owner_; 81 60 float lifetime_; 82 /* float damage_; 83 ///////me 84 float healthdamage_; 85 float shielddamage_; 86 ///////end me 87 bool bDestroy_; 88 */ Timer destroyTimer_; 61 Timer destroyTimer_; 89 62 }; 90 63 }
Note: See TracChangeset
for help on using the changeset viewer.