X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectSpell.h;h=64cc85206c8c24f424d241d37d79f1c8454b513a;hb=dc275497c592669dda75645604a9b35d32f63e90;hp=03401c6bcbefef7557025059e4ec4f61b587ba5d;hpb=092a2dd175a4001a495c84ee85211734fb928c83;p=l2e.git diff --git a/src/battle/states/SelectSpell.h b/src/battle/states/SelectSpell.h index 03401c6..64cc852 100644 --- a/src/battle/states/SelectSpell.h +++ b/src/battle/states/SelectSpell.h @@ -1,10 +1,3 @@ -/* - * SelectSpell.h - * - * Created on: Aug 8, 2012 - * Author: holy - */ - #ifndef BATTLE_SELECTSPELL_H_ #define BATTLE_SELECTSPELL_H_ @@ -12,12 +5,9 @@ namespace battle { class BattleState; class SelectAttackType; } -namespace math { - template - class Vector; -} #include "../../app/State.h" +#include "../../math/Vector.h" namespace battle { @@ -42,16 +32,20 @@ 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; }; } -#endif /* BATTLE_SELECTSPELL_H_ */ +#endif