X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FRunState.h;h=f94bd3e324414e960731977e1199ab35c8ed8e64;hb=0b11a24a8b08c49d6e4301573602fb6d01e7a8c8;hp=cf91f9ab47796eb0659223093526b3f0a61d6bb0;hpb=5ca18f73987fb3935ab34654cbbecf5eca4704cb;p=l2e.git diff --git a/src/battle/states/RunState.h b/src/battle/states/RunState.h index cf91f9a..f94bd3e 100644 --- a/src/battle/states/RunState.h +++ b/src/battle/states/RunState.h @@ -1,16 +1,12 @@ -/* - * RunState.h - * - * Created on: Aug 10, 2012 - * Author: holy - */ - #ifndef BATTLE_RUNSTATE_H_ #define BATTLE_RUNSTATE_H_ -#include "../fwd.h" +namespace battle { + class BattleState; +} + #include "../../app/State.h" -#include "../../geometry/Vector.h" +#include "../../math/Vector.h" namespace battle { @@ -24,7 +20,7 @@ public: public: virtual void HandleEvents(const app::Input &); - virtual void UpdateWorld(float deltaT); + virtual void UpdateWorld(Uint32 deltaT); virtual void Render(SDL_Surface *); private: @@ -36,14 +32,17 @@ private: virtual void OnResize(int width, int height); private: - void RenderTitleBar(SDL_Surface *screen, const geometry::Vector &offset); + void RenderTitleBar(SDL_Surface *screen); private: BattleState *battle; app::Timer timer; + math::Vector framePosition; + math::Vector frameSize; + math::Vector textPosition; }; } -#endif /* BATTLE_RUNSTATE_H_ */ +#endif