Changeset 9964 in orxonox.OLD for branches/playability/src/world_entities/projectiles/projectile.h
- Timestamp:
- Nov 28, 2006, 11:43:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/projectile.h
r9960 r9964 64 64 protected: 65 65 // energy 66 float energyMin;//!< The minimal Energy a Projectile needs to be emitted.67 bool bChargeable;//!< if the Projectile is Charegeable66 float energyMin; //!< The minimal Energy a Projectile needs to be emitted. 67 bool bChargeable; //!< if the Projectile is Charegeable 68 68 69 float lifeCycle;//!< The percentage of the Lifetime done [0-1]70 float lifeSpan;//!< The entire lifespan of the Shoot. in seconds69 float lifeCycle; //!< The percentage of the Lifetime done [0-1] 70 float lifeSpan; //!< The entire lifespan of the Shoot. in seconds 71 71 72 72 float physDamage; //!< damage to shield and armor 73 73 float elecDamage; //!< damage to elctronic 74 float turningSpeed; //!< degrees per tick 74 75 75 Vector flightDirection;//!< DOF direction in which the shoot flighs76 Vector flightDirection; //!< DOF direction in which the shoot flighs 76 77 77 Vector velocity;//!< velocity of the projectile.78 Vector velocity; //!< velocity of the projectile. 78 79 79 PNode* target; //!< A target for guided Weapons. 80 PNode* target; //!< A target for guided Weapons. 81 Vector targetPosition; //!< current target position relative to projectile 82 Vector targetVelocity; //!< current target speed and direction 83 float eta; //!< estimated time of arrival == time to kaboom! 80 84 81 85 OrxSound::SoundSource soundSource; … … 83 87 OrxSound::SoundBuffer explosionBuffer; 84 88 OrxSound::SoundBuffer engineBuffer; 89 90 virtual Vector newDirection(Vector curDirection, Vector estTargetDir, float angle); 85 91 }; 86 92
Note: See TracChangeset
for help on using the changeset viewer.