Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 16, 2005, 5:53:20 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: working on projectile, functions and doxy, modified the hit(…) function from world_entity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/projectile.h

    r3573 r3578  
    1818  virtual ~Projectile ();
    1919
    20  
     20  virtual void hit (WorldEntity* weapon, Vector* loc);
     21  virtual void destroy ();
     22
    2123  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);
    2524  virtual void draw ();
    2625
     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
    2731};
    2832
Note: See TracChangeset for help on using the changeset viewer.