Changeset 3578 in orxonox.OLD for orxonox/trunk/src/world_entities/projectile.h
- Timestamp:
- Mar 16, 2005, 5:53:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/projectile.h
r3573 r3578 18 18 virtual ~Projectile (); 19 19 20 20 virtual void hit (WorldEntity* weapon, Vector* loc); 21 virtual void destroy (); 22 21 23 virtual void tick (float time); 22 virtual void hit (WorldEntity* weapon, Vector loc);23 virtual void destroy ();24 virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags);25 24 virtual void draw (); 26 25 26 private: 27 int health; //<! the healt of a projectile 28 int maxHelath; //<! the max healt of a projectile 29 int damageToAirCraft; //<! damage dealt to a air craft 30 int damageToGroundCraft; //<! damage dealt to a ground craft 27 31 }; 28 32
Note: See TracChangeset
for help on using the changeset viewer.