X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FTargetSelection.h;h=52b0d00bcb519bbc7d1819a31708261a1099ca5e;hb=63a2a96b70a18d08a2714571f79fe7d99612cb9e;hp=06d6f44198cda86c59341b314d4034a824cddd8a;hpb=2a1d9169e1f6c2dfe0f93ed40d5fb68d3da342af;p=l2e.git diff --git a/src/battle/TargetSelection.h b/src/battle/TargetSelection.h index 06d6f44..52b0d00 100644 --- a/src/battle/TargetSelection.h +++ b/src/battle/TargetSelection.h @@ -1,24 +1,23 @@ -/* - * TargetSelection.h - * - * Created on: Aug 9, 2012 - * Author: holy - */ - #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; } @@ -77,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; @@ -88,4 +87,4 @@ private: } -#endif /* BATTLE_TARGETSELECTION_H_ */ +#endif