X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbattle%2Fstates%2FSelectTarget.h;h=9bd51f5872aa6bb991aafcf4e1828d3e6bed4224;hb=2a1d9169e1f6c2dfe0f93ed40d5fb68d3da342af;hp=b9085a5b51bc56951bb772d174fcb6b611e3fe03;hpb=3c72a71fbf6de96333a641051a20c6bf8b3a5df3;p=l2e.git diff --git a/src/battle/states/SelectTarget.h b/src/battle/states/SelectTarget.h index b9085a5..9bd51f5 100644 --- a/src/battle/states/SelectTarget.h +++ b/src/battle/states/SelectTarget.h @@ -8,23 +8,18 @@ #ifndef BATTLE_SELECTTARGET_H_ #define BATTLE_SELECTTARGET_H_ +#include "../fwd.h" #include "../../app/State.h" - #include "../../geometry/Vector.h" - -namespace graphics { class Sprite; } +#include "../../graphics/fwd.h" namespace battle { -class BattleState; -class TargetSelection; -class SelectAttackType; - 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 +30,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 *);