Changeset 10685 in orxonox.OLD for branches/hud/src/world_entities/world_entity.h
- Timestamp:
- Jun 11, 2007, 4:40:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hud/src/world_entities/world_entity.h
r10540 r10685 161 161 void increaseHealthMax(float increaseHealth); 162 162 OrxGui::GLGuiWidget* getHealthWidget(); 163 OrxGui::GLGuiWidget* getImplantWidget(); 163 164 bool hasHealthWidget() const { return this->healthWidget != NULL; }; 164 165 … … 187 188 void setHealthMax(float healthMax); 188 189 void createHealthWidget(); 190 void createImplantWidget(); 189 191 // CharacterAttributes* charAttr; //!< the character attributes of a world_entity 190 192 … … 206 208 207 209 private: 208 /// TODO maybe we will move the following threeentries and the corresponding functions to Playable AND NPC210 /// TODO maybe we will move the following eight entries and the corresponding functions to Playable AND NPC 209 211 float damage; //!< the damage dealt to other objects by colliding. 210 212 float health; //!< The Energy of this Entity, if the Entity has any energy at all. 211 float healthMax; //!< The Maximal energy this entity can take. 213 float healthMax; //!< The Maximal energy this entity can take. 214 float implantEnergy; //!< energy of implants 212 215 OrxGui::GLGuiEnergyWidgetVertical* healthWidget; //!< The Slider (if wanted). 216 OrxGui::GLGuiEnergyWidgetVertical* implantWidget; 213 217 214 218 std::vector<Model*> models; //!< The model that should be loaded for this entity. … … 247 251 float healthMax_write; 248 252 int healthMax_handle; 253 254 249 255 250 256
Note: See TracChangeset
for help on using the changeset viewer.