X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectSpell.h;h=823bef2395dab65613391576ed2c2a24f84e1d46;hb=2ccc2369d32fb680a3047519d79c17de34c4e10a;hp=5251a9d2c2e51b33404db017e5cc6e53c27223d5;hpb=6d080d21d8055df9962296863b4c0954bc81410b;p=l2e.git diff --git a/src/battle/states/SelectSpell.h b/src/battle/states/SelectSpell.h index 5251a9d..823bef2 100644 --- a/src/battle/states/SelectSpell.h +++ b/src/battle/states/SelectSpell.h @@ -8,15 +8,12 @@ #ifndef BATTLE_SELECTSPELL_H_ #define BATTLE_SELECTSPELL_H_ +#include "../fwd.h" #include "../../app/State.h" - #include "../../geometry/Vector.h" namespace battle { -class BattleState; -class SelectAttackType; - class SelectSpell : public app::State { @@ -25,12 +22,12 @@ public: : ctrl(0), battle(battle), parent(parent) { } public: - virtual void EnterState(app::Application &ctrl, SDL_Surface *screen); - virtual void ExitState(app::Application &ctrl, SDL_Surface *screen); - virtual void ResumeState(app::Application &ctrl, SDL_Surface *screen); - virtual void PauseState(app::Application &ctrl, SDL_Surface *screen); + virtual void OnEnterState(app::Application &ctrl, SDL_Surface *screen); + virtual void OnExitState(app::Application &ctrl, SDL_Surface *screen); + virtual void OnResumeState(app::Application &ctrl, SDL_Surface *screen); + virtual void OnPauseState(app::Application &ctrl, SDL_Surface *screen); - virtual void Resize(int width, int height); + virtual void OnResize(int width, int height); virtual void HandleEvents(const app::Input &); virtual void UpdateWorld(float deltaT);