+ 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 SetSprite(graphics::Sprite *s) { sprite = s; }
+ void SetLevel(Uint8 l) { level = l; }
+ void SetMaxHealth(Uint16 m) { maxHealth = m; }
+ void SetHealth(Uint16 h) { health = h; }
+ void SetMaxMana(Uint16 m) { maxMana = m; }
+ void SetMana(Uint16 m) { mana = m; }
+ void SetStats(const Stats &s) { stats = s; }
+ void SetReward(Uint16 exp, Uint16 gold) { expReward = exp; goldReward = gold; }
+
+ void SetMeleeAnimation(graphics::Animation *a) { meleeAnimation = a; }
+ void SetAttackAnimation(graphics::Animation *a) { attackAnimation = a; }
+ void SetSpellAnimation(graphics::Animation *a) { spellAnimation = a; }
+