]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectSpell.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / SelectSpell.h
index 1087b3fd1b7bc53b86124a8a1d88cdb577cd169f..64cc85206c8c24f424d241d37d79f1c8454b513a 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;
 
 };