X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FTargetSelection.h;h=52b0d00bcb519bbc7d1819a31708261a1099ca5e;hb=3d69f521b593457304b282e5f23e36ab165288b6;hp=ba5317899cfeb6ef63196b9d61de74d5975da659;hpb=60e0fe29ce6cd033edc78b181d9d07fa72c11172;p=l2e.git diff --git a/src/battle/TargetSelection.h b/src/battle/TargetSelection.h index ba53178..52b0d00 100644 --- a/src/battle/TargetSelection.h +++ b/src/battle/TargetSelection.h @@ -1,20 +1,23 @@ #ifndef BATTLE_TARGETSELECTION_H_ #define BATTLE_TARGETSELECTION_H_ +namespace battle { + class Battle; +} namespace common { class TargetingMode; } #include -namespace battle { -class BattleState; +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; } @@ -73,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; @@ -84,4 +87,4 @@ private: } -#endif /* BATTLE_TARGETSELECTION_H_ */ +#endif