X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTransitionState.h;h=9a73ae5c3019385a92257d9944e2a8fdaac6d218;hb=6ad33ca7db4f2d13311e2f8a9e77e57f907a576d;hp=1790d716c39a010fddd3ed85628e25a8d7aa2757;hpb=5ca18f73987fb3935ab34654cbbecf5eca4704cb;p=l2e.git diff --git a/src/map/TransitionState.h b/src/map/TransitionState.h index 1790d71..9a73ae5 100644 --- a/src/map/TransitionState.h +++ b/src/map/TransitionState.h @@ -1,16 +1,16 @@ -/* - * TransitionState.h - * - * Created on: Oct 7, 2012 - * Author: holy - */ - #ifndef MAP_TRANSITIONSTATE_H_ #define MAP_TRANSITIONSTATE_H_ -#include "fwd.h" +namespace map { + class Map; + class MapState; +} +namespace math { + template + class Vector; +} + #include "../app/State.h" -#include "../geometry/Vector.h" namespace map { @@ -18,12 +18,12 @@ class TransitionState : public app::State { public: - TransitionState(MapState *, Map *, const geometry::Vector &); + TransitionState(MapState *, Map *, const math::Vector &); virtual ~TransitionState() { } public: virtual void HandleEvents(const app::Input &); - virtual void UpdateWorld(float deltaT); + virtual void UpdateWorld(Uint32 deltaT); virtual void Render(SDL_Surface *); private: @@ -37,10 +37,10 @@ private: private: MapState *ms; Map *map; - const geometry::Vector &coordinates; + const math::Vector &coordinates; }; } -#endif /* MAP_TRANSITIONSTATE_H_ */ +#endif