1 #ifndef BATTLE_VICTORYSTATE_H_
2 #define BATTLE_VICTORYSTATE_H_
9 #include "../../app/State.h"
10 #include "../../common/Hero.h"
11 #include "../../math/Vector.h"
31 virtual void HandleEvents(const app::Input &);
32 virtual void UpdateWorld(Uint32 deltaT);
33 virtual void Render(SDL_Surface *);
36 virtual void OnEnterState(SDL_Surface *screen);
37 virtual void OnExitState(SDL_Surface *screen);
38 virtual void OnResumeState(SDL_Surface *screen);
39 virtual void OnPauseState(SDL_Surface *screen);
41 virtual void OnResize(int width, int height);
47 const std::vector<common::Hero::UpgradeInfo> &,
48 std::vector<std::string> &);
49 void RenderFrame(SDL_Surface *screen);
50 void RenderLines(SDL_Surface *screen);
55 app::Timer<Uint32> timer;
56 std::vector<std::string> lines;
57 math::Vector<int> framePosition;
58 math::Vector<int> frameSize;
59 math::Vector<int> textPosition;