]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectAttackType.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / SelectAttackType.h
index b7903a7766c02beae5ff6264841788e2379b8973..8794a48c2f45cbbcbc945bd32aec188ba6b0c16b 100644 (file)
@@ -4,12 +4,9 @@
 namespace battle {
        class BattleState;
 }
-namespace math {
-       template<class>
-       class Vector;
-}
 
 #include "../../app/State.h"
+#include "../../math/Vector.h"
 
 namespace battle {
 
@@ -34,10 +31,11 @@ private:
        virtual void OnResize(int width, int height);
 
 private:
-       void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset);
+       void RenderMenu(SDL_Surface *screen);
 
 private:
        BattleState *battle;
+       math::Vector<int> menuOffset;
 
 };