- Uint16 Attack() const { return attack; }
- Uint16 Defense() const { return defense; }
- Uint16 Agility() const { return agility; }
- Uint16 Intelligence() const { return intelligence; }
- Uint16 Gut() const { return gut; }
- Uint16 MagicResistance() const { return magicResistance; }
-
- 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; }
-
- int AttackFrames() const { return attackFrames; }
- int AttackFrameTime() const { return attackFrameTime; }
- int SpellFrames() const { return spellFrames; }
- int SpellFrameTime() const { return spellFrameTime; }
-
-// 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; }