void SetAttackAnimation(const graphics::Animation *a) { attackAnimation = a; }
void SetSpellAnimation(const graphics::Animation *a) { spellAnimation = a; }
+ static void CreateTypeDescription();
+
private:
const char *name;
graphics::Sprite *sprite;
// TODO: vector does not seem to be a good choice
std::vector<const common::Spell *> spells;
- Uint16 maxHealth, health;
- Uint16 maxMana, mana;
+ int maxHealth, health;
+ int maxMana, mana;
Stats stats;
- Uint8 level;
- Uint8 ip;
+ int level;
+ int ip;
};