- Timestamp:
- Apr 18, 2009, 6:14:52 PM (16 years ago)
- Location:
- code/branches/weapons/src/orxonox/objects/weaponSystem/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapons/src/orxonox/objects/weaponSystem/projectiles/Projectile.cc
r2896 r2918 101 101 if (!this->bDestroy_ && GameMode::isMaster()) 102 102 { 103 if (otherObject == this->owner_) 104 return true; 105 103 106 this->bDestroy_ = true; 104 107 -
code/branches/weapons/src/orxonox/objects/weaponSystem/projectiles/Projectile.h
r2662 r2918 51 51 virtual void destroyedPawn(Pawn* pawn); 52 52 53 inline void setDamage(float damage) 54 { this->damage_ = damage; } 55 inline float getDamage() const 56 { return this->damage_; } 57 53 58 inline void setOwner(Pawn* owner) 54 59 { this->owner_ = owner; }
Note: See TracChangeset
for help on using the changeset viewer.