summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-03 22:22:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-03 22:22:59 +0300
commitf24512ff105dce01260d1a484c0ce1aa89e108ce (patch)
tree4ba0bd277e70ead687960899c5d12e60ed5a5a1c /src/actorspritemanager.h
parent5c9d41ce013205bdef4ebff837fadf2e0763401c (diff)
downloadplus-f24512ff105dce01260d1a484c0ce1aa89e108ce.tar.gz
plus-f24512ff105dce01260d1a484c0ce1aa89e108ce.tar.bz2
plus-f24512ff105dce01260d1a484c0ce1aa89e108ce.tar.xz
plus-f24512ff105dce01260d1a484c0ce1aa89e108ce.zip
Refactor a bit actorspritemanager. (remove duplicate code)
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r--src/actorspritemanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h
index 6d56b0309..9605b9ccd 100644
--- a/src/actorspritemanager.h
+++ b/src/actorspritemanager.h
@@ -291,6 +291,8 @@ class ActorSpriteManager: public ConfigListener
int getPriorityAttackMobIndex(std::string name);
+ int getIndexByName(std::string name, std::map<std::string, int> &map);
+
protected:
bool validateBeing(Being *aroundBeing, Being* being,
Being::Type type, Being* excluded = nullptr,