Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2007, 4:40:33 PM (17 years ago)
Author:
bknecht
Message:

My computer is not working anymore, so I upload my unfinished work to continue my work

File:
1 edited

Legend:

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

    r10540 r10685  
    161161  void increaseHealthMax(float increaseHealth);
    162162  OrxGui::GLGuiWidget* getHealthWidget();
     163  OrxGui::GLGuiWidget* getImplantWidget();
    163164  bool hasHealthWidget() const { return this->healthWidget != NULL; };
    164165
     
    187188  void setHealthMax(float healthMax);
    188189  void createHealthWidget();
     190  void createImplantWidget();
    189191    //  CharacterAttributes*    charAttr;         //!< the character attributes of a world_entity
    190192
     
    206208
    207209private:
    208   /// TODO maybe we will move the following three entries and the corresponding functions to Playable AND NPC
     210  /// TODO maybe we will move the following eight entries and the corresponding functions to Playable AND NPC
    209211  float                   damage;             //!< the damage dealt to other objects by colliding.
    210212  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
    212215  OrxGui::GLGuiEnergyWidgetVertical* healthWidget;    //!< The Slider (if wanted).
     216  OrxGui::GLGuiEnergyWidgetVertical* implantWidget;
    213217
    214218  std::vector<Model*>     models;             //!< The model that should be loaded for this entity.
     
    247251  float                   healthMax_write;
    248252  int                     healthMax_handle;
     253 
     254
    249255
    250256
Note: See TracChangeset for help on using the changeset viewer.