]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/RunState.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / RunState.h
index d3411978ff49656e392463ff6bdd66e8e24c6cce..f94bd3e324414e960731977e1199ab35c8ed8e64 100644 (file)
@@ -4,12 +4,9 @@
 namespace battle {
        class BattleState;
 }
-namespace math {
-       template<class>
-       class Vector;
-}
 
 #include "../../app/State.h"
+#include "../../math/Vector.h"
 
 namespace battle {
 
@@ -35,11 +32,14 @@ private:
        virtual void OnResize(int width, int height);
 
 private:
-       void RenderTitleBar(SDL_Surface *screen, const math::Vector<int> &offset);
+       void RenderTitleBar(SDL_Surface *screen);
 
 private:
        BattleState *battle;
        app::Timer<Uint32> timer;
+       math::Vector<int> framePosition;
+       math::Vector<int> frameSize;
+       math::Vector<int> textPosition;
 
 };