X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectAttackType.h;h=64a7dbd9414b615ba9cbec40d3c30cb36ac3d283;hb=e1edc92c4fb834c8061118e89c0d7e239742b030;hp=557602f50248f0379d7285233fd4e2e55d01ea1c;hpb=7252571fb926a187c4c40e8f4eec718f16d63ffa;p=l2e.git diff --git a/src/battle/states/SelectAttackType.h b/src/battle/states/SelectAttackType.h index 557602f..64a7dbd 100644 --- a/src/battle/states/SelectAttackType.h +++ b/src/battle/states/SelectAttackType.h @@ -19,7 +19,7 @@ class SelectAttackType public: explicit SelectAttackType(BattleState *battle) - : ctrl(0), battle(battle) { } + : battle(battle) { } public: virtual void HandleEvents(const app::Input &); @@ -27,10 +27,10 @@ public: virtual void Render(SDL_Surface *); private: - 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 OnEnterState(SDL_Surface *screen); + virtual void OnExitState(SDL_Surface *screen); + virtual void OnResumeState(SDL_Surface *screen); + virtual void OnPauseState(SDL_Surface *screen); virtual void OnResize(int width, int height); @@ -38,7 +38,6 @@ private: void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset); private: - app::Application *ctrl; BattleState *battle; };