X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHero.h;h=c15c2dcbc08bf4d25cc73f7b0734b54ef4463760;hb=b02da898c7c8a08141df4e797774a61cf5e0163f;hp=1cce110df994e3af3fef811581bbc4016df6803b;hpb=0542849dfccfec1ce1477265fa0fee2401a8fb23;p=l2e.git diff --git a/src/battle/Hero.h b/src/battle/Hero.h index 1cce110..c15c2dc 100644 --- a/src/battle/Hero.h +++ b/src/battle/Hero.h @@ -130,6 +130,9 @@ public: void SetAttackAnimation(const graphics::Animation *a) { attackAnimation = a; } void SetSpellAnimation(const graphics::Animation *a) { spellAnimation = a; } + static void CreateTypeDescription(); + static void Construct(void *); + private: const char *name; graphics::Sprite *sprite; @@ -157,13 +160,13 @@ private: // TODO: vector does not seem to be a good choice std::vector spells; - Uint16 maxHealth, health; - Uint16 maxMana, mana; + int maxHealth, health; + int maxMana, mana; Stats stats; - Uint8 level; - Uint8 ip; + int level; + int ip; };