]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectSpell.h
implemented pushable entities and pushing
[l2e.git] / src / battle / states / SelectSpell.h
index f3841a1f92e78b0e8bf076972af872f67baf74f5..38d2c39e6ab3afc869a2a7575ec92aacb200130e 100644 (file)
@@ -8,15 +8,12 @@
 #ifndef BATTLE_SELECTSPELL_H_
 #define BATTLE_SELECTSPELL_H_
 
+#include "../fwd.h"
 #include "../../app/State.h"
-
 #include "../../geometry/Vector.h"
 
 namespace battle {
 
-class BattleState;
-class SelectAttackType;
-
 class SelectSpell
 : public app::State {
 
@@ -32,12 +29,13 @@ 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: