const Stats &GetStats() const { return stats; }
Uint8 Level() const { return level; }
+ int Experience() const { return experience; }
+ int NextLevel() const;
Item *Weapon() { return weapon; }
Item *Armor() { return armor; }
bool HasRing() const { return ring; }
bool HasJewel() const { return jewel; }
+ void RemoveWeapon() { weapon = 0; }
+ void RemoveArmor() { armor = 0; }
+ void RemoveShield() { shield = 0; }
+ void RemoveHelmet() { helmet = 0; }
+ void RemoveRing() { ring = 0; }
+ void RemoveJewel() { jewel = 0; }
+
+ std::vector<const Spell *> &Spells() { return spells; }
const std::vector<const Spell *> &Spells() const { return spells; }
graphics::Sprite *BattleSprite() { return battleSprite; }
Stats stats;
int level;
+ int experience;
+
+ int *levelLadder;
+ int numLevels;
Item *weapon;
Item *armor;