X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FHero.h;h=aa12b2559cdfe69aa1221847aded744bfbd8549e;hb=e8283bf94624b2f184d50dc1401bf45225c529d6;hp=7014331b844b6cad7586edf7cc9bc1c5c7b08464;hpb=092a2dd175a4001a495c84ee85211734fb928c83;p=l2e.git diff --git a/src/common/Hero.h b/src/common/Hero.h index 7014331..aa12b25 100644 --- a/src/common/Hero.h +++ b/src/common/Hero.h @@ -83,8 +83,9 @@ public: static void CreateTypeDescription(); static void Construct(void *); -// temporary setters public: + void SetMaxHealth(int h) { maxHealth = h; } + void SetHealth(int h) { health = h; } void AddSpell(Spell *s) { spells.push_back(s); } private: @@ -120,4 +121,4 @@ private: } -#endif /* COMMON_HERO_H_ */ +#endif