X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectSpell.h;h=84df91eefc4751da7be3b4e9dea1724d439f0482;hb=087783315ac5955c17bb3b051c9351f321653df6;hp=64cc85206c8c24f424d241d37d79f1c8454b513a;hpb=eb2ad5ffd08128d31af32f3929a3295fcfa251e9;p=l2e.git diff --git a/src/battle/states/SelectSpell.h b/src/battle/states/SelectSpell.h index 64cc852..84df91e 100644 --- a/src/battle/states/SelectSpell.h +++ b/src/battle/states/SelectSpell.h @@ -2,7 +2,7 @@ #define BATTLE_SELECTSPELL_H_ namespace battle { - class BattleState; + class Battle; class SelectAttackType; } @@ -15,8 +15,7 @@ class SelectSpell : public app::State { public: - SelectSpell(BattleState *battle, SelectAttackType *parent) - : battle(battle), parent(parent) { } + SelectSpell(Battle *battle, SelectAttackType *parent); public: virtual void HandleEvents(const app::Input &); @@ -37,7 +36,7 @@ private: void RenderMenu(SDL_Surface *); private: - BattleState *battle; + Battle *battle; SelectAttackType *parent; math::Vector framePosition; math::Vector frameSize;