]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/AttackTypeMenu.h
split battle state into (so far) 2 states
[l2e.git] / src / battle / AttackTypeMenu.h
index 08caf7f4160c3e93e4bed77eb4425770af317518..26a9dd9d07089ea128fe566c884c01fd0d30d045 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef BATTLE_ATTACKTYPEMENU_H_
 #define BATTLE_ATTACKTYPEMENU_H_
 
-namespace app { class Input; }
-
 #include "../geometry/Point.h"
 #include "../graphics/Sprite.h"
 
@@ -33,7 +31,7 @@ public:
        : icons(icons), selected(SWORD) { }
 
 public:
-       void ReadInput(const app::Input &);
+       void Select(Icon i) { selected = i; }
        Icon Selected() const { return selected; }
        void Render(SDL_Surface *screen, const geometry::Point<int> &position);