Changeset 9958 in orxonox.OLD for branches/playability/src/world_entities/projectiles
- Timestamp:
- Nov 26, 2006, 12:31:01 AM (18 years ago)
- Location:
- branches/playability/src/world_entities/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/projectile.cc
r9957 r9958 152 152 this->soundSource.play(this->explosionBuffer); 153 153 } 154 155 int Projectile::getPhysDamage () { return this->physDamage; }156 157 int Projectile::getElecDamage () { return this->elecDamage; } -
branches/playability/src/world_entities/projectiles/projectile.h
r9957 r9958 52 52 inline bool tickLifeCycle(float dt ) { this->lifeCycle += dt/this->lifeSpan; return(unlikely(this->lifeCycle >= 1)); } 53 53 54 virtual int getPhysDamage();55 virtual int getElecDamage();54 inline int getPhysDamage() { return this->physDamage; }; 55 inline int getElecDamage() { return this->elecDamage; }; 56 56 57 57 protected:
Note: See TracChangeset
for help on using the changeset viewer.