X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectSpell.h;h=64cc85206c8c24f424d241d37d79f1c8454b513a;hb=dc275497c592669dda75645604a9b35d32f63e90;hp=8ad19f1410b09e58e03fab4b59a9f35f1bd154e4;hpb=5d1a76ae7725af998c6ee46adfe492c68ee1d34f;p=l2e.git diff --git a/src/battle/states/SelectSpell.h b/src/battle/states/SelectSpell.h index 8ad19f1..64cc852 100644 --- a/src/battle/states/SelectSpell.h +++ b/src/battle/states/SelectSpell.h @@ -1,14 +1,11 @@ -/* - * SelectSpell.h - * - * Created on: Aug 8, 2012 - * Author: holy - */ - #ifndef BATTLE_SELECTSPELL_H_ #define BATTLE_SELECTSPELL_H_ -#include "../fwd.h" +namespace battle { + class BattleState; + class SelectAttackType; +} + #include "../../app/State.h" #include "../../math/Vector.h" @@ -35,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