]> 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 c096fa02a5b70903ad057c2998f60ee7b407415f..8794a48c2f45cbbcbc945bd32aec188ba6b0c16b 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * SelectAttackType.h
- *
- *  Created on: Aug 7, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_SELECTATTACKTYPE_H_
 #define BATTLE_SELECTATTACKTYPE_H_
 
-#include "../fwd.h"
+namespace battle {
+       class BattleState;
+}
+
 #include "../../app/State.h"
 #include "../../math/Vector.h"
 
@@ -23,7 +19,7 @@ public:
 
 public:
        virtual void HandleEvents(const app::Input &);
-       virtual void UpdateWorld(float deltaT);
+       virtual void UpdateWorld(Uint32 deltaT);
        virtual void Render(SDL_Surface *);
 
 private:
@@ -35,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