1 #ifndef BATTLE_VICTORYSTATE_H_
2 #define BATTLE_VICTORYSTATE_H_
9 #include "../../app/State.h"
10 #include "../../math/Vector.h"
29 virtual void HandleEvents(const app::Input &);
30 virtual void UpdateWorld(Uint32 deltaT);
31 virtual void Render(SDL_Surface *);
34 virtual void OnEnterState(SDL_Surface *screen);
35 virtual void OnExitState(SDL_Surface *screen);
36 virtual void OnResumeState(SDL_Surface *screen);
37 virtual void OnPauseState(SDL_Surface *screen);
39 virtual void OnResize(int width, int height);
43 void RenderFrame(SDL_Surface *screen);
44 void RenderLines(SDL_Surface *screen);
49 app::Timer<Uint32> timer;
50 std::vector<std::string> lines;
51 math::Vector<int> framePosition;
52 math::Vector<int> frameSize;
53 math::Vector<int> textPosition;