]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectSpell.h
removed direct access to battle's monsters vector
[l2e.git] / src / battle / states / SelectSpell.h
index e0bb118040e24b09d6214203b2c789f5f5e67bf1..5251a9d2c2e51b33404db017e5cc6e53c27223d5 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "../../app/State.h"
 
+#include "../../geometry/Vector.h"
+
 namespace battle {
 
 class BattleState;
@@ -30,10 +32,15 @@ public:
 
        virtual void Resize(int width, int height);
 
-       virtual void HandleInput(const app::Input &);
+       virtual void HandleEvents(const app::Input &);
        virtual void UpdateWorld(float deltaT);
        virtual void Render(SDL_Surface *);
 
+private:
+       void RenderFrame(SDL_Surface *, const geometry::Vector<int> &offset);
+       void RenderHeadline(SDL_Surface *, const geometry::Vector<int> &offset);
+       void RenderMenu(SDL_Surface *, const geometry::Vector<int> &offset);
+
 private:
        app::Application *ctrl;
        BattleState *battle;