Changeset 3578 in orxonox.OLD for orxonox/trunk/src/world_entities/projectile.cc
- Timestamp:
- Mar 16, 2005, 5:53:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/projectile.cc
r3574 r3578 26 26 27 27 28 28 /** 29 \brief standard constructor 30 */ 29 31 Projectile::Projectile () : WorldEntity() 30 32 { … … 33 35 34 36 35 37 /** 38 \brief standard deconstructor 39 */ 36 40 Projectile::~Projectile () 37 41 { … … 39 43 } 40 44 45 46 /** 47 \brief signal tick, time dependent things will be handled here 48 \param time since last tick 49 */ 41 50 void Projectile::tick (float time) 42 51 {} 43 52 44 void Projectile::hit (WorldEntity* weapon, Vector loc) 53 /** 54 \brief the projectile gets hit by another entity 55 \param the other entity 56 \param place where it is hit 57 */ 58 void Projectile::hit (WorldEntity* entity, Vector* place) 45 59 {} 46 60 61 62 /** 63 \brief the function gets called, when the projectile is destroyed 64 */ 47 65 void Projectile::destroy () 48 66 {} 49 67 50 void Projectile::collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags)51 {}52 68 53 69 void Projectile::draw ()
Note: See TracChangeset
for help on using the changeset viewer.