]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectIkari.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / SelectIkari.h
index 43fa0cf1b4de65901e9505410082bccb6541294e..254da726baa71831fac9fcf7713bf1d83dd362c3 100644 (file)
@@ -5,12 +5,9 @@ namespace battle {
        class BattleState;
        class SelectAttackType;
 }
-namespace math {
-       template<class>
-       class Vector;
-}
 
 #include "../../app/State.h"
+#include "../../math/Vector.h"
 
 namespace battle {
 
@@ -36,13 +33,17 @@ private:
        virtual void OnResize(int width, int height);
 
 private:
-       void RenderFrame(SDL_Surface *, const math::Vector<int> &offset);
-       void RenderHeadline(SDL_Surface *, const math::Vector<int> &offset);
-       void RenderMenu(SDL_Surface *, const math::Vector<int> &offset);
+       void RenderFrame(SDL_Surface *);
+       void RenderHeadline(SDL_Surface *);
+       void RenderMenu(SDL_Surface *);
 
 private:
        BattleState *battle;
        SelectAttackType *parent;
+       math::Vector<int> framePosition;
+       math::Vector<int> frameSize;
+       math::Vector<int> headlinePosition;
+       math::Vector<int> menuPosition;
 
 };