X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.h;h=05bd7c95128ae6352b9360d3b1cc34243aab89a4;hb=95bfa881f3fa427b67d9ce21e6a10f80f7be5439;hp=b88bae3b30b8a7151d45c3db34041ac4ac8b6fcb;hpb=4e886547268583ef1d8a415d9f7f959ce76ffcbc;p=l2e.git diff --git a/src/battle/BattleState.h b/src/battle/BattleState.h index b88bae3..05bd7c9 100644 --- a/src/battle/BattleState.h +++ b/src/battle/BattleState.h @@ -10,18 +10,22 @@ #include "Monster.h" #include "../app/State.h" +#include "../geometry/Point.h" #include #include 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: virtual void EnterState(app::Application &ctrl, SDL_Surface *screen); @@ -33,6 +37,8 @@ public: private: SDL_Surface *background; + const PartyLayout *monstersLayout; + std::vector > monsterPositions; std::vector monsters; };