1 #ifndef BATTLE_RUNSTATE_H_
2 #define BATTLE_RUNSTATE_H_
8 #include "../../app/State.h"
9 #include "../../math/Vector.h"
17 explicit RunState(BattleState *battle)
21 virtual void HandleEvents(const app::Input &);
22 virtual void UpdateWorld(Uint32 deltaT);
23 virtual void Render(SDL_Surface *);
26 virtual void OnEnterState(SDL_Surface *screen);
27 virtual void OnExitState(SDL_Surface *screen);
28 virtual void OnResumeState(SDL_Surface *screen);
29 virtual void OnPauseState(SDL_Surface *screen);
31 virtual void OnResize(int width, int height);
34 void RenderTitleBar(SDL_Surface *screen);
38 app::Timer<Uint32> timer;
39 math::Vector<int> framePosition;
40 math::Vector<int> frameSize;
41 math::Vector<int> textPosition;