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