X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.h;h=3a9500c5d5228d41c2bd71ba42a27d593c41a4a3;hb=e1edc92c4fb834c8061118e89c0d7e239742b030;hp=0f51f237cd2a47138ac222127f269a15f477aca8;hpb=a67f7e662c85b2b8d46f26a3c6e018b2df6eb318;p=l2e.git diff --git a/src/battle/BattleState.h b/src/battle/BattleState.h index 0f51f23..3a9500c 100644 --- a/src/battle/BattleState.h +++ b/src/battle/BattleState.h @@ -3,6 +3,7 @@ #include "fwd.h" #include "AttackTypeMenu.h" +#include "Capsule.h" #include "Hero.h" #include "HeroTag.h" #include "Monster.h" @@ -47,6 +48,7 @@ public: public: void AddMonster(const Monster &); void AddHero(const Hero &); + void SetCapsule(const Capsule &); public: virtual void HandleEvents(const app::Input &); @@ -120,6 +122,7 @@ public: void RenderBackground(SDL_Surface *screen, const geometry::Vector &offset); void RenderMonsters(SDL_Surface *screen, const geometry::Vector &offset); void RenderHeroes(SDL_Surface *screen, const geometry::Vector &offset); + void RenderCapsule(SDL_Surface *screen, const geometry::Vector &offset); void RenderHeroTags(SDL_Surface *screen, const geometry::Vector &offset); void RenderSmallHeroTags(SDL_Surface *screen, const geometry::Vector &offset); @@ -154,6 +157,7 @@ private: SmallHeroTag smallHeroTags[4]; geometry::Vector heroTagPositions[4]; geometry::Vector smallHeroTagPositions[4]; + Capsule capsule; int numHeroes; int activeHero; int attackCursor;