X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FState.h;fp=src%2Fapp%2FState.h;h=28cb94d5d978179e2828f132aa6819875a5fd241;hb=65158353d1ecbed0032752863c6c4eb96b1a084a;hp=41af536280c92acfff4de02172123dbdf56ad343;hpb=f6691e2827a7eb8d2bdd3fbe175ecbfda09357ae;p=l2e.git diff --git a/src/app/State.h b/src/app/State.h index 41af536..28cb94d 100644 --- a/src/app/State.h +++ b/src/app/State.h @@ -26,14 +26,14 @@ public: /// can not be done by the constructor. /// Called when the state first enters the stack. /// @param ctrl the Application running the state - virtual void EnterState(Application &ctrl, SDL_Surface *screen) = 0; + virtual void OnEnterState(Application &ctrl, SDL_Surface *screen) = 0; /// Do some cleanup. /// Called when the state is popped from the stack. - virtual void ExitState(Application &ctrl, SDL_Surface *screen) = 0; + virtual void OnExitState(Application &ctrl, SDL_Surface *screen) = 0; /// Called when the state becomes the active one. - virtual void ResumeState(Application &ctrl, SDL_Surface *screen) = 0; + virtual void OnResumeState(Application &ctrl, SDL_Surface *screen) = 0; /// Called when the state becomes inactive. - virtual void PauseState(Application &ctrl, SDL_Surface *screen) = 0; + virtual void OnPauseState(Application &ctrl, SDL_Surface *screen) = 0; /// Adapt the state's graphics to given dimensions. /// NOTE: currently, this is only called for the stack top and not