Changeset 9960 in orxonox.OLD for branches/playability/src/world_entities/projectiles/projectile.h
- Timestamp:
- Nov 26, 2006, 1:29:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/projectile.h
r9959 r9960 23 23 Projectile (); 24 24 virtual ~Projectile (); 25 26 /** @brief Constructor with variable passing*/ 27 Projectile (float pDamage, float eDamage, PNode* target); 28 /** @brief for void construction; setting values later - needed for FastFactory*/ 29 virtual void initialize(float pDamage, float eDamage, PNode* target); 25 30 26 31 void setFlightDirection(const Quaternion& flightDirection); … … 54 59 inline bool tickLifeCycle(float dt ) { this->lifeCycle += dt/this->lifeSpan; return(unlikely(this->lifeCycle >= 1)); } 55 60 56 inline int getPhysDamage() { return this->physDamage; };57 inline int getElecDamage() { return this->elecDamage; };61 inline float getPhysDamage() { return this->physDamage; }; 62 inline float getElecDamage() { return this->elecDamage; }; 58 63 59 64 protected:
Note: See TracChangeset
for help on using the changeset viewer.