]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SwapHeroes.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / SwapHeroes.h
index eec03917aa9006dc7e12bc2a9917ecc663643a09..1f98772a1952e208844c422c38f6d5c0761ed457 100644 (file)
@@ -5,12 +5,11 @@ namespace battle {
        class BattleState;
        class SelectMoveAction;
 }
-namespace math {
-       template<class>
-       class Vector;
-}
 
 #include "../../app/State.h"
+#include "../../math/Vector.h"
+
+#include <vector>
 
 namespace battle {
 
@@ -41,11 +40,14 @@ private:
        void MoveLeft();
 
 private:
-       void RenderCursors(SDL_Surface *screen, const math::Vector<int> &offset);
+       void RenderCursors(SDL_Surface *screen);
 
 private:
        BattleState *battle;
        SelectMoveAction *parent;
+       std::vector<math::Vector<int> > positions;
+       math::Vector<int> cursorOffset;
+       math::Vector<int> indicatorOffset;
        int cursor;
        int selected;
        bool flipFlop;