Changeset 4836 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/projectile.cc
- Timestamp:
- Jul 12, 2005, 12:33:16 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/projectile.cc
r4758 r4836 29 29 30 30 /** 31 \briefstandard constructor31 * standard constructor 32 32 */ 33 33 Projectile::Projectile (Weapon* weapon) : WorldEntity() … … 44 44 45 45 /** 46 \briefstandard deconstructor46 * standard deconstructor 47 47 */ 48 48 Projectile::~Projectile () … … 57 57 58 58 /** 59 \briefthis sets the flight direction of the projectile60 \param directin in which to flight59 * this sets the flight direction of the projectile 60 * @param directin in which to flight 61 61 62 62 this function will calculate a vector out of this to be used in the … … 74 74 75 75 /** 76 \briefthis sets the time to life of the projectile77 \param ttl in second76 * this sets the time to life of the projectile 77 * @param ttl in second 78 78 79 79 after this life time, the projectile will garbage collect itself … … 86 86 87 87 /** 88 \briefsets the speed of the projectile88 * sets the speed of the projectile 89 89 */ 90 90 void Projectile::setSpeed(float speed) … … 96 96 97 97 /** 98 \briefsets the velocity vector to a spec speed99 \param velocity: vector of the velocity98 * sets the velocity vector to a spec speed 99 * @param velocity: vector of the velocity 100 100 */ 101 101 void Projectile::setVelocity(const Vector &velocity) … … 108 108 109 109 /** 110 \briefsignal tick, time dependent things will be handled here111 \param time since last tick110 * signal tick, time dependent things will be handled here 111 * @param time since last tick 112 112 */ 113 113 void Projectile::tick (float time) … … 128 128 129 129 /** 130 \briefthe projectile gets hit by another entity131 \param the other entity132 \param place where it is hit130 * the projectile gets hit by another entity 131 * @param the other entity 132 * @param place where it is hit 133 133 */ 134 134 void Projectile::hit (WorldEntity* entity, Vector* place) … … 137 137 138 138 /** 139 \briefthe function gets called, when the projectile is destroyed139 * the function gets called, when the projectile is destroyed 140 140 */ 141 141 void Projectile::destroy ()
Note: See TracChangeset
for help on using the changeset viewer.