diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-06 16:29:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-06 16:29:31 +0300 |
commit | 5b0c6c5c95645813f96ea413b1c14f2ffc18a481 (patch) | |
tree | 15f9a59ac6c585a2391ab5713f8ce2261a105928 /src/actormanager.h | |
parent | 7fa78a35307227453ab55c7452e348a40cd41d65 (diff) | |
download | plus-5b0c6c5c95645813f96ea413b1c14f2ffc18a481.tar.gz plus-5b0c6c5c95645813f96ea413b1c14f2ffc18a481.tar.bz2 plus-5b0c6c5c95645813f96ea413b1c14f2ffc18a481.tar.xz plus-5b0c6c5c95645813f96ea413b1c14f2ffc18a481.zip |
Add strong typed bool type AllPlayers.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r-- | src/actormanager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/actormanager.h b/src/actormanager.h index 9387b2961..ae4b7217f 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -25,6 +25,8 @@ #include "flooritem.h" +#include "enums/simpletypes.h" + #include "listeners/configlistener.h" #include "utils/stringmap.h" @@ -105,7 +107,7 @@ class ActorManager final: public ConfigListener * Returns a being at the specific pixel. */ Being *findBeingByPixel(const int x, const int y, - const bool allPlayers = false) + const AllPlayers allPlayers = AllPlayers_false) const A_WARN_UNUSED; /** @@ -113,7 +115,7 @@ class ActorManager final: public ConfigListener */ void findBeingsByPixel(std::vector<ActorSprite*> &beings, const int x, const int y, - const bool allPlayers) const; + const AllPlayers allPlayers) const; /** * Returns a portal at the specific tile. |