- Stats &GetStats() { return stats; }
- const Stats &GetStats() const { return stats; }
-
- common::Item *Weapon() { return weapon; }
- common::Item *Armor() { return armor; }
- common::Item *Shield() { return shield; }
- common::Item *Helmet() { return helmet; }
- common::Item *Ring() { return ring; }
- common::Item *Jewel() { return jewel; }
-
- const common::Item *Weapon() const { return weapon; }
- const common::Item *Armor() const { return armor; }
- const common::Item *Shield() const { return shield; }
- const common::Item *Helmet() const { return helmet; }
- const common::Item *Ring() const { return ring; }
- const common::Item *Jewel() const { return jewel; }
-
- bool HasWeapon() const { return weapon; }
- bool HasArmor() const { return armor; }
- bool HasShield() const { return shield; }
- bool HasHelmet() const { return helmet; }
- bool HasRing() const { return ring; }
- bool HasJewel() const { return jewel; }
-
- graphics::Animation *MeleeAnimation() { return meleeAnimation; }
- const graphics::Animation *MeleeAnimation() const { return meleeAnimation; }
- graphics::Animation *AttackAnimation() { return attackAnimation; }
- const graphics::Animation *AttackAnimation() const { return attackAnimation; }
- graphics::Animation *SpellAnimation() { return spellAnimation; }
- const graphics::Animation *SpellAnimation() const { return spellAnimation; }
-
-// temporary setters until loader is implemented
-public:
- void SetName(const char *n) { name = n; }
- void SetLevel(Uint8 l) { level = l; }
- void SetSprite(graphics::Sprite *s) { sprite = s; }