Changeset 4948 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/projectile.h
- Timestamp:
- Jul 23, 2005, 11:50:51 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/projectile.h
r4932 r4948 24 24 #include "vector.h" 25 25 26 class Vector;27 26 class ParticleEmitter; 28 27 … … 38 37 39 38 39 void setEnergies(float energyMin, float energyMax); 40 /** @returns the minimal charched energy */ 41 inline float getEnergyMin() { return this->energyMin; }; 42 /** @returns the maximal charched energy */ 43 inline float getEnergyMax() { return this->energyMax; }; 44 /** @returns if the Projectile can be charged */ 45 inline bool isChageable() { return this->bChargeable; }; 46 40 47 41 48 … … 50 57 float energyMin; 51 58 float energyMax; 52 59 bool bChargeable; //!< if the Projectile is Charegeable 53 60 54 61 float lifeCycle; //!< The percentage of the Lifetime done [0-1] 55 62 float lifeSpan; //!< The entire lifespan of the Shoot. in seconds 56 63 57 Vector flightDirection; //!< direction in which the shoot flighs64 Vector flightDirection; //!< DOF direction in which the shoot flighs 58 65 59 66 Vector velocity; //!< velocity of the projectile.
Note: See TracChangeset
for help on using the changeset viewer.