summaryrefslogtreecommitdiff
path: root/src/gui/partywindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/partywindow.h')
-rw-r--r--src/gui/partywindow.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/partywindow.h b/src/gui/partywindow.h
index c915d9ce..6a8cc4fc 100644
--- a/src/gui/partywindow.h
+++ b/src/gui/partywindow.h
@@ -40,8 +40,6 @@
struct PartyMember
{
std::string name;
- int health;
- int healthMax;
bool leader;
bool online;
Avatar *avatar;
@@ -85,6 +83,11 @@ class PartyWindow : public Window, gcn::ActionListener
bool leader = false, bool online = true);
/**
+ * Update a member's HP and Max HP
+ */
+ void updateMemberHP(int id, int hp, int maxhp);
+
+ /**
* Remove party member with the given id.
*/
void removeMember(int id);