X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FTargetSelection.h;fp=src%2Fbattle%2FTargetSelection.h;h=fd1d041c90fe604ea01b229be51036353a21da7d;hb=fde7b27297882a7f033641df92e732abd137b532;hp=b57a41df26c5d3ab80bd772b876f07221185cb02;hpb=0f5f8a6eaa938f88fd3d1e92dec2462b30840e21;p=l2e.git diff --git a/src/battle/TargetSelection.h b/src/battle/TargetSelection.h index b57a41d..fd1d041 100644 --- a/src/battle/TargetSelection.h +++ b/src/battle/TargetSelection.h @@ -22,8 +22,8 @@ public: explicit TargetSelection(BattleState *battle = 0, bool multiple = false, bool atEnemy = true); public: - bool TargetsEnemies() const { return enemy; } - bool TargetsHeroes() const { return !TargetsEnemies(); } + bool TargetsMonsters() const { return enemy; } + bool TargetsHeroes() const { return !TargetsMonsters(); } bool IsSelected(int index) const { return index >= 0 && index < int(selected.size()) && selected[index].type != State::IGNORE; } bool HasSelected() const { return selection >= 0; } int SingleSelection() const { return selection; } @@ -35,7 +35,7 @@ public: void ReadMode(const common::TargetingMode &); - void SelectEnemies(); + void SelectMonsters(); void SelectHeroes(); void Select(int index) { selected[index].type = State::SELECTED; selection = index; } void Unselect(int index) { selected[index].type = State::IGNORE; }