]> 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 81fe774689d05a36ff2be87232f62f5e14d0d625..1f98772a1952e208844c422c38f6d5c0761ed457 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * SwapHeroes.h
- *
- *  Created on: Aug 10, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_SWAPHEROES_H_
 #define BATTLE_SWAPHEROES_H_
 
@@ -12,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 {
 
@@ -48,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;
@@ -61,4 +56,4 @@ private:
 
 }
 
-#endif /* BATTLE_SWAPHEROES_H_ */
+#endif