]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectAttackType.h
added capsule mockup (battle)
[l2e.git] / src / battle / states / SelectAttackType.h
index 557602f50248f0379d7285233fd4e2e55d01ea1c..64a7dbd9414b615ba9cbec40d3c30cb36ac3d283 100644 (file)
@@ -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<int> &offset);
 
 private:
-       app::Application *ctrl;
        BattleState *battle;
 
 };