]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
renamed state callbacks
[l2e.git] / src / map / MapState.h
index 952bcee393d242cca8d73cdf793c23f5afba062e..35c6d6494ef6008a2638d67a27fe3f032c8de85d 100644 (file)
@@ -30,10 +30,10 @@ public:
        virtual ~MapState() { }
 
 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 HandleEvents(const app::Input &);