- Timestamp:
- May 16, 2011, 5:25:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/projectiles/Projectile.h
r8386 r8492 35 35 #include "worldentities/MovableEntity.h" 36 36 37 #include "BasicProjectile.h" 38 37 39 namespace orxonox 38 40 { 39 class _WeaponsExport Projectile : public MovableEntity 41 class _WeaponsExport Projectile : public MovableEntity, public BasicProjectile 40 42 { 41 43 public: … … 49 51 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); 50 52 51 inline void setDamage(float damage)53 /* inline void setDamage(float damage) 52 54 { this->damage_ = damage; COUT(3) << "DAMAGE-SET-FUNKTION WIRD AUFGERUFEN" << endl; } 53 55 inline float getDamage() const 54 56 { return this->damage_; } 55 57 */ 56 58 void setOwner(Pawn* owner); 57 59 inline Pawn* getOwner() const 58 60 { return this->owner_; } 59 61 60 / ///////////////////me62 /*///////////////////me 61 63 62 64 inline void setHealthDamage(float healthdamage) … … 71 73 72 74 ///////////////////end me 73 75 */ 74 76 75 77 private: 76 78 WeakPtr<Pawn> owner_; 77 79 float lifetime_; 78 float damage_;80 /* float damage_; 79 81 ///////me 80 82 float healthdamage_; … … 82 84 ///////end me 83 85 bool bDestroy_; 84 Timer destroyTimer_;86 */ Timer destroyTimer_; 85 87 }; 86 88 }
Note: See TracChangeset
for help on using the changeset viewer.