Changeset 10737 in orxonox.OLD for branches/presentation/src/world_entities/world_entity.h
- Timestamp:
- Jun 20, 2007, 6:17:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/world_entity.h
r10721 r10737 226 226 void setHealthRegen(float regen) { this->healthRegen = regen; }; 227 227 void createImplantWidget(); 228 // CharacterAttributes* charAttr; //!< the character attributes of a world_entity229 228 230 229 void setShield(float shield) { this->shield = shield; }; … … 238 237 void setElectronicTH(float th) { this->electronicTH = th; }; 239 238 void setElectronicRegen(float regen) { this->electronicRegen = regen; }; 240 239 241 240 void setDamageable( bool damageable ){ this->damageable = damageable; } 242 241 bool getDamageable(){ return this->damageable; } … … 270 269 bool forwardDamageToParent; //!< if true, damage taken will be forwardet to parent 271 270 float healthMax; //!< The Maximal energy this entity can take. 272 float implantEnergy;//!< energy of implants273 float healthRegen; //!< Regeneration Rate of Health, mesured in units per second271 float implantEnergy; //!< energy of implants 272 float healthRegen; //!< Regeneration Rate of Health, mesured in units per second 274 273 OrxGui::GLGuiEnergyWidgetVertical* healthWidget; //!< The Slider (if wanted). 275 OrxGui::GLGuiEnergyWidgetVertical* implantWidget; 274 OrxGui::GLGuiEnergyWidgetVertical* implantWidget; 276 275 277 276 float shield; //!< current shield … … 324 323 float healthMax_write; 325 324 int healthMax_handle; 326 325 327 326 328 327
Note: See TracChangeset
for help on using the changeset viewer.