]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.h
renamed state callbacks
[l2e.git] / src / battle / BattleState.h
index 60c24bc87aef33faf4537d961d82ea8cf05bc199..4ac64594ba498d35b3e2dfae0fd4d604176247a0 100644 (file)
@@ -56,10 +56,10 @@ public:
        void AddHero(const Hero &);
 
 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);