1 #ifndef BATTLE_RUNSTATE_H_
2 #define BATTLE_RUNSTATE_H_
12 #include "../../app/State.h"
20 explicit RunState(BattleState *battle)
25 virtual void HandleEvents(const app::Input &);
26 virtual void UpdateWorld(Uint32 deltaT);
27 virtual void Render(SDL_Surface *);
30 virtual void OnEnterState(SDL_Surface *screen);
31 virtual void OnExitState(SDL_Surface *screen);
32 virtual void OnResumeState(SDL_Surface *screen);
33 virtual void OnPauseState(SDL_Surface *screen);
35 virtual void OnResize(int width, int height);
38 void RenderTitleBar(SDL_Surface *screen, const math::Vector<int> &offset);
42 app::Timer<Uint32> timer;