#include "Monster.h"
#include "../app/State.h"
+#include "../geometry/Point.h"
#include <vector>
#include <SDL.h>
namespace battle {
+class PartyLayout;
+
class BattleState
: public app::State {
public:
- explicit BattleState(SDL_Surface *background)
- : background(background) { }
+ BattleState(SDL_Surface *background, const PartyLayout &monstersLayout)
+ : background(background)
+ , monstersLayout(&monstersLayout) { }
+
+public:
+ void AddMonster(const Monster &);
public:
virtual void EnterState(app::Application &ctrl, SDL_Surface *screen);
private:
SDL_Surface *background;
+ const PartyLayout *monstersLayout;
+ std::vector<geometry::Point<int> > monsterPositions;
std::vector<Monster> monsters;
};