]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectItem.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / SelectItem.h
index e9a30d8a76347611428775bd9b5d7839ee2e471f..9e9bcd0458536bd1dd0b71f38a51b8ea4787522a 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 {
 
@@ -35,13 +32,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;
 
 };