namespace battle {
-class AttackAnimation;
-
class Hero {
public:
bool HasRing() const { return ring; }
bool HasJewel() const { return jewel; }
- class AttackAnimation *MeleeAnimation() { return meleeAnimation; }
- const class AttackAnimation *MeleeAnimation() const { return meleeAnimation; }
+ 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; }
void AddSpell(const common::Spell *s) { spells.push_back(s); }
- void SetMeleeAnimation(class AttackAnimation *a) { meleeAnimation = a; }
+ void SetMeleeAnimation(graphics::Animation *a) { meleeAnimation = a; }
void SetAttackAnimation(graphics::Animation *a) { attackAnimation = a; }
void SetSpellAnimation(graphics::Animation *a) { spellAnimation = a; }
const common::Item *ring;
const common::Item *jewel;
- class AttackAnimation *meleeAnimation;
+ graphics::Animation *meleeAnimation;
graphics::Animation *attackAnimation;
graphics::Animation *spellAnimation;