Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 16, 2007, 11:15:39 AM (17 years ago)
Author:
rennerc
Message:

improved damage handling for adm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/world_entity.h

    r10698 r10708  
    6363  void unmount(int slot);
    6464
    65 
     65  void setForwardDamageToParent( bool val ){ this->forwardDamageToParent = val; }
    6666
    6767  /** @param visibility if the Entity should be visible (been draw) */
     
    262262  //!< started transfering shield/electronic/health from spaceship to WE! (nico, 4.Jun.07)
    263263
    264   float                   damage;             //!< the damage dealt to other objects by colliding.
    265   float                   health;             //!< The Energy of this Entity, if the Entity has any energy at all.
    266   float                   healthMax;          //!< The Maximal energy this entity can take.
     264
     265  float                   damage;                 //!< the damage dealt to other objects by colliding.
     266  float                   health;                 //!< The Energy of this Entity, if the Entity has any energy at all.
     267  bool                    forwardDamageToParent;  //!< if true, damage taken will be forwardet to parent
     268  float                   healthMax;              //!< The Maximal energy this entity can take.
    267269  float                                         implantEnergy;          //!< energy of implants
    268270  float                   healthRegen;        //!< Regeneration Rate of Health, mesured in units per second
Note: See TracChangeset for help on using the changeset viewer.