summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-20 22:26:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-20 22:26:00 +0300
commitc4a9748e841fd8620e7e9d230aad8964f424bb08 (patch)
treedeeeac5217f0d73e5c5176399685ee74bea36460 /src/being/localplayer.h
parent2ac58b6b39b155a9033677f225fe5c56b63cb6b1 (diff)
downloadmv-c4a9748e841fd8620e7e9d230aad8964f424bb08.tar.gz
mv-c4a9748e841fd8620e7e9d230aad8964f424bb08.tar.bz2
mv-c4a9748e841fd8620e7e9d230aad8964f424bb08.tar.xz
mv-c4a9748e841fd8620e7e9d230aad8964f424bb08.zip
Add function for selecting new target.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index c258a14f1..e47ad4d20 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -27,6 +27,7 @@
#include "enums/being/pickup.h"
+#include "enums/simpletypes/allowsort.h"
#include "enums/simpletypes/keep.h"
#include "listeners/actorspritelistener.h"
@@ -132,6 +133,9 @@ class LocalPlayer final : public Being,
*/
void setTarget(Being *const target);
+ Being *setNewTarget(const ActorTypeT type,
+ const AllowSort allowSort);
+
/**
* Sets a new destination for this being to walk to.
*/