X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectSpell.h;h=64cc85206c8c24f424d241d37d79f1c8454b513a;hb=0b11a24a8b08c49d6e4301573602fb6d01e7a8c8;hp=1087b3fd1b7bc53b86124a8a1d88cdb577cd169f;hpb=d97b7038c28058a76e7214e0dce0394fd8b67cff;p=l2e.git diff --git a/src/battle/states/SelectSpell.h b/src/battle/states/SelectSpell.h index 1087b3f..64cc852 100644 --- a/src/battle/states/SelectSpell.h +++ b/src/battle/states/SelectSpell.h @@ -5,12 +5,9 @@ namespace battle { class BattleState; class SelectAttackType; } -namespace math { - template - class Vector; -} #include "../../app/State.h" +#include "../../math/Vector.h" namespace battle { @@ -35,13 +32,17 @@ private: virtual void OnResize(int width, int height); private: - void RenderFrame(SDL_Surface *, const math::Vector &offset); - void RenderHeadline(SDL_Surface *, const math::Vector &offset); - void RenderMenu(SDL_Surface *, const math::Vector &offset); + void RenderFrame(SDL_Surface *); + void RenderHeadline(SDL_Surface *); + void RenderMenu(SDL_Surface *); private: BattleState *battle; SelectAttackType *parent; + math::Vector framePosition; + math::Vector frameSize; + math::Vector headlinePosition; + math::Vector menuPosition; };