X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTransitionState.h;h=9f2cd193a1febfbd9eec9a1c610892c2711d57c4;hb=06db9f596cd1c5aa4c0832b387882f7c74c1b4c0;hp=844665a34c3db2d41acc388751b18a16446c1132;hpb=65158353d1ecbed0032752863c6c4eb96b1a084a;p=l2e.git diff --git a/src/map/TransitionState.h b/src/map/TransitionState.h index 844665a..9f2cd19 100644 --- a/src/map/TransitionState.h +++ b/src/map/TransitionState.h @@ -1,16 +1,9 @@ -/* - * TransitionState.h - * - * Created on: Oct 7, 2012 - * Author: holy - */ - #ifndef MAP_TRANSITIONSTATE_H_ #define MAP_TRANSITIONSTATE_H_ #include "fwd.h" #include "../app/State.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" namespace map { @@ -18,26 +11,26 @@ class TransitionState : public app::State { public: - TransitionState(MapState *, Map *, const geometry::Vector &); + TransitionState(MapState *, Map *, const math::Vector &); virtual ~TransitionState() { } public: - 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 &); virtual void UpdateWorld(float deltaT); virtual void Render(SDL_Surface *); private: - app::Application *ctrl; + 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); + +private: MapState *ms; Map *map; - const geometry::Vector &coordinates; + const math::Vector &coordinates; };