X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FTargetSelection.h;fp=src%2Fbattle%2FTargetSelection.h;h=b57a41df26c5d3ab80bd772b876f07221185cb02;hb=b53c2ec2621ccc654e819cb203dc26e0a482bd41;hp=70c95b52a469ad9f5280aa1ed554ba911c7fbe8a;hpb=cb86f68c08eec5c2e131037116bf9a9f5cf9f2c7;p=l2e.git diff --git a/src/battle/TargetSelection.h b/src/battle/TargetSelection.h index 70c95b5..b57a41d 100644 --- a/src/battle/TargetSelection.h +++ b/src/battle/TargetSelection.h @@ -10,6 +10,8 @@ #include +namespace common { class TargetingMode; } + namespace battle { class BattleState; @@ -31,6 +33,8 @@ public: bool SelectSingle() const { return !SelectMultiple(); } void SetSingle() { multiple = false; } + void ReadMode(const common::TargetingMode &); + void SelectEnemies(); void SelectHeroes(); void Select(int index) { selected[index].type = State::SELECTED; selection = index; }