4 * Created on: Aug 5, 2012
8 #ifndef BATTLE_BATTLESTATE_H_
9 #define BATTLE_BATTLESTATE_H_
12 #include "../app/State.h"
13 #include "../geometry/Point.h"
26 BattleState(SDL_Surface *background, const PartyLayout &monstersLayout)
27 : background(background)
28 , monstersLayout(&monstersLayout) { }
31 virtual void EnterState(app::Application &ctrl, SDL_Surface *screen);
32 virtual void ExitState();
34 virtual void HandleEvent(const SDL_Event &);
35 virtual void UpdateWorld(float deltaT);
36 virtual void Render(SDL_Surface *);
39 SDL_Surface *background;
40 const PartyLayout *monstersLayout;
41 std::vector<geometry::Point<int> > monsterPositions;
42 std::vector<Monster> monsters;
48 #endif /* BATTLE_BATTLESTATE_H_ */