]> 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 3290666b3d0d33855a5beaca925279749ab6b77d..8794a48c2f45cbbcbc945bd32aec188ba6b0c16b 100644 (file)
@@ -1,22 +1,12 @@
-/*
- * SelectAttackType.h
- *
- *  Created on: Aug 7, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_SELECTATTACKTYPE_H_
 #define BATTLE_SELECTATTACKTYPE_H_
 
 namespace battle {
        class BattleState;
 }
-namespace math {
-       template<class>
-       class Vector;
-}
 
 #include "../../app/State.h"
+#include "../../math/Vector.h"
 
 namespace battle {
 
@@ -41,12 +31,13 @@ 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;
 
 };
 
 }
-#endif /* BATTLE_SELECTATTACKTYPE_H_ */
+#endif