]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectIkari.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / SelectIkari.h
index ca08732e5ffe8a25b98bfe547c7cee6f49f9d666..254da726baa71831fac9fcf7713bf1d83dd362c3 100644 (file)
@@ -1,14 +1,11 @@
-/*
- * SelectIkari.h
- *
- *  Created on: Aug 9, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_SELECTIKARI_H_
 #define BATTLE_SELECTIKARI_H_
 
-#include "../fwd.h"
+namespace battle {
+       class BattleState;
+       class SelectAttackType;
+}
+
 #include "../../app/State.h"
 #include "../../math/Vector.h"
 
@@ -24,7 +21,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:
@@ -36,16 +33,20 @@ private:
        virtual void OnResize(int width, int height);
 
 private:
-       void RenderFrame(SDL_Surface *, const math::Vector<int> &offset);
-       void RenderHeadline(SDL_Surface *, const math::Vector<int> &offset);
-       void RenderMenu(SDL_Surface *, const math::Vector<int> &offset);
+       void RenderFrame(SDL_Surface *);
+       void RenderHeadline(SDL_Surface *);
+       void RenderMenu(SDL_Surface *);
 
 private:
        BattleState *battle;
        SelectAttackType *parent;
+       math::Vector<int> framePosition;
+       math::Vector<int> frameSize;
+       math::Vector<int> headlinePosition;
+       math::Vector<int> menuPosition;
 
 };
 
 }
 
-#endif /* BATTLE_SELECTIKARI_H_ */
+#endif