: public app::State {
public:
- BattleState(SDL_Surface *background, const PartyLayout &monstersLayout)
+ BattleState(SDL_Surface *background, const PartyLayout &monstersLayout, const PartyLayout &heroesLayout)
: background(background)
, monstersLayout(&monstersLayout)
- , width(0)
- , height(0) { }
+ , heroesLayout(&heroesLayout) { }
public:
void AddMonster(const Monster &);
private:
SDL_Surface *background;
const PartyLayout *monstersLayout;
+ const PartyLayout *heroesLayout;
std::vector<geometry::Point<int> > monsterPositions;
+ std::vector<geometry::Point<int> > heroesPositions;
std::vector<Monster> monsters;
- int width;
- int height;
};