Changeset 9953 in orxonox.OLD for branches/playability/src/world_entities/projectiles
- Timestamp:
- Nov 24, 2006, 9:10:24 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
r9869 r9953 145 145 } 146 146 147 148 149 int Projectile::getPhysDamage () { return this->physDamage; } 150 151 int Projectile::getElecDamage () { return this->elecDamage; } -
branches/playability/src/world_entities/projectiles/projectile.h
r9869 r9953 50 50 inline bool tickLifeCycle(float dt ) { this->lifeCycle += dt/this->lifeSpan; return(unlikely(this->lifeCycle >= 1)); } 51 51 52 virtual int getPhysDamage(); 53 virtual int getElecDamage(); 52 54 53 55 protected: … … 69 71 OrxSound::SoundBuffer explosionBuffer; 70 72 OrxSound::SoundBuffer engineBuffer; 73 74 int physDamage; //!< damage to shield and armor 75 int elecDamage; //!< damage to elctronic 71 76 }; 72 77
Note: See TracChangeset
for help on using the changeset viewer.