Changeset 3646 in orxonox.OLD for orxonox/trunk/src/world_entities/projectile.h
- Timestamp:
- Mar 23, 2005, 5:43:07 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/projectile.h
r3632 r3646 21 21 22 22 void setFlightDirection(Quaternion* flightDirection); 23 void setSpeed(float speed); 24 void setTTL(float ttl); 23 25 24 26 virtual void hit (WorldEntity* weapon, Vector* loc); … … 32 34 Primitive* projectileModel; //!< this serves temporary as a plasma bullet 33 35 float speed; //!< this is the speed of the projectile 36 float currentLifeTime; //!< this is the time, the projectile exists in this world (incremented by tick) 37 float ttl; //!< time to life, after this time, the projectile will garbage collect itself 34 38 Vector* flightDirection; //!< direction in which the shoot flights 39 35 40 }; 36 41
Note: See TracChangeset
for help on using the changeset viewer.