summaryrefslogtreecommitdiffstats
path: root/targeting.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'targeting.hpp')
-rw-r--r--targeting.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/targeting.hpp b/targeting.hpp
index 9719a65..8ab8eda 100644
--- a/targeting.hpp
+++ b/targeting.hpp
@@ -127,6 +127,11 @@ class Targeting
return targets.size();
}
+ /**
+ * Returns a target by position.
+ */
+ std::unique_ptr<Target>& getTarget(size_t pos);
+
private:
/**
OpenPOWER on IntegriCloud