1 #ifndef BATTLE_VICTORYSTATE_H_
2 #define BATTLE_VICTORYSTATE_H_
12 #include "../../app/State.h"
13 #include "../../common/Hero.h"
14 #include "../../math/Vector.h"
34 virtual void HandleEvents(const app::Input &);
35 virtual void UpdateWorld(Uint32 deltaT);
36 virtual void Render(SDL_Surface *);
39 virtual void OnEnterState(SDL_Surface *screen);
40 virtual void OnExitState(SDL_Surface *screen);
41 virtual void OnResumeState(SDL_Surface *screen);
42 virtual void OnPauseState(SDL_Surface *screen);
44 virtual void OnResize(int width, int height);
49 const common::Upgrade &,
50 std::vector<std::string> &);
51 void RenderFrame(SDL_Surface *screen);
52 void RenderLines(SDL_Surface *screen);
57 app::Timer<Uint32> timer;
58 std::vector<std::string> lines;
59 math::Vector<int> framePosition;
60 math::Vector<int> frameSize;
61 math::Vector<int> textPosition;