]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectTarget.h
removed direct access to battle's monsters vector
[l2e.git] / src / battle / states / SelectTarget.h
index b9085a5b51bc56951bb772d174fcb6b611e3fe03..b4eb312810223a73efd54798dbc38e14a4a2dd6c 100644 (file)
@@ -24,7 +24,7 @@ class SelectTarget
 : public app::State {
 
 public:
-       SelectTarget(BattleState *battle, SelectAttackType *parent, TargetSelection *selection, const graphics::Sprite *cursorIcon, bool startWithEnemy)
+       SelectTarget(BattleState *battle, SelectAttackType *parent, TargetSelection *selection, const graphics::Sprite *cursorIcon)
        : ctrl(0), battle(battle), parent(parent), selection(selection), cursorIcon(cursorIcon), flipFlop(true) { }
 
 public:
@@ -35,7 +35,7 @@ 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 *);