]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectAttackType.h
renamed app::State's Resize -> OnResize
[l2e.git] / src / battle / states / SelectAttackType.h
index 56799409e4ff3b686f8da1601c10f699b5b0e689..690427f070371270a0b0ffef0a06a9e229c1244d 100644 (file)
@@ -8,14 +8,12 @@
 #ifndef BATTLE_SELECTATTACKTYPE_H_
 #define BATTLE_SELECTATTACKTYPE_H_
 
+#include "../fwd.h"
 #include "../../app/State.h"
 #include "../../geometry/Vector.h"
 
 namespace battle {
 
-class AttackTypeMenu;
-class BattleState;
-
 class SelectAttackType
 : public app::State {
 
@@ -24,12 +22,12 @@ public:
        : ctrl(0), battle(battle) { }
 
 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);