X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FRunState.h;h=f94bd3e324414e960731977e1199ab35c8ed8e64;hb=b7b7078d04007d5b86ab160288f88b57d76ea408;hp=cdf7881c9d48d9be2235173625bfde731ae92db6;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/battle/states/RunState.h b/src/battle/states/RunState.h index cdf7881..f94bd3e 100644 --- a/src/battle/states/RunState.h +++ b/src/battle/states/RunState.h @@ -1,14 +1,10 @@ -/* - * 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 "../../math/Vector.h" @@ -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 math::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