Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 17, 2007, 2:25:20 PM (17 years ago)
Author:
rennerc
Message:

player cannot shoot throu walls
per default worldentities cannot be killed
weapon correct again

File:
1 edited

Legend:

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

    r10708 r10710  
    239239  void setElectronicTH(float th) { this->electronicTH = th; };
    240240  void setElectronicRegen(float regen) { this->electronicRegen = regen; };
     241 
     242  void setDamageable( bool damageable ){ this->damageable = damageable; }
     243  bool getDamageable(){ return this->damageable; }
    241244
    242245  inline void drawDebugTrack(int flag) { this->bDrawTrack = (bool)flag; }
     
    263266
    264267
     268  bool                    damageable;             //!< weather this we can be damaged/killed
    265269  float                   damage;                 //!< the damage dealt to other objects by colliding.
    266270  float                   health;                 //!< The Energy of this Entity, if the Entity has any energy at all.
Note: See TracChangeset for help on using the changeset viewer.