X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectIkari.h;h=254da726baa71831fac9fcf7713bf1d83dd362c3;hb=eb2ad5ffd08128d31af32f3929a3295fcfa251e9;hp=060a8124d693abac6677d21a7e4d106d11f470ec;hpb=092a2dd175a4001a495c84ee85211734fb928c83;p=l2e.git diff --git a/src/battle/states/SelectIkari.h b/src/battle/states/SelectIkari.h index 060a812..254da72 100644 --- a/src/battle/states/SelectIkari.h +++ b/src/battle/states/SelectIkari.h @@ -1,10 +1,3 @@ -/* - * SelectIkari.h - * - * Created on: Aug 9, 2012 - * Author: holy - */ - #ifndef BATTLE_SELECTIKARI_H_ #define BATTLE_SELECTIKARI_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 { @@ -43,16 +33,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_SELECTIKARI_H_ */ +#endif