X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FTargetSelection.h;h=52b0d00bcb519bbc7d1819a31708261a1099ca5e;hb=087783315ac5955c17bb3b051c9351f321653df6;hp=dc03285ced2c7884b8f67bdb412d1c896cbabe13;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/battle/TargetSelection.h b/src/battle/TargetSelection.h index dc03285..52b0d00 100644 --- a/src/battle/TargetSelection.h +++ b/src/battle/TargetSelection.h @@ -1,17 +1,23 @@ #ifndef BATTLE_TARGETSELECTION_H_ #define BATTLE_TARGETSELECTION_H_ -#include "fwd.h" -#include "../common/fwd.h" +namespace battle { + class Battle; +} +namespace common { + class TargetingMode; +} #include + namespace battle { class TargetSelection { public: - explicit TargetSelection(BattleState *battle = 0, bool multiple = false, bool atEnemy = true); + TargetSelection(); + explicit TargetSelection(Battle *battle, bool multiple = false, bool atEnemy = true); public: bool TargetsMonsters() const { return enemy; } @@ -70,7 +76,7 @@ private: int number; explicit State(Type type = IGNORE, int num = 0) : type(type), number(num) { } }; - BattleState *battle; + Battle *battle; std::vector selected; int selection; int cursor; @@ -81,4 +87,4 @@ private: } -#endif /* BATTLE_TARGETSELECTION_H_ */ +#endif