, battle(game->heroesLayout, monstersLayout)
, attackTypeMenu(res->attackIcons)
, moveMenu(res->moveIcons)
- , ranAway(false) { assert(background && game); }
+ , ranAway(false), alreadyPushed(false)
+ { assert(background && game); }
public:
void AddMonster(const Monster &);
public:
Battle &GetBattle() { return battle; }
const Battle &GetBattle() const { return battle; }
+ const common::GameConfig &Game() const { return *game; }
const Resources &Res() const { return *res; }
AttackTypeMenu &GetAttackTypeMenu() { return attackTypeMenu; }
MoveMenu &GetMoveMenu() { return moveMenu; }
math::Vector<int> offset;
bool ranAway;
+ bool alreadyPushed;
};