diff options
author | Przemysław Grzywacz <nexather@gmail.com> | 2013-05-10 13:56:52 +0200 |
---|---|---|
committer | Przemysław Grzywacz <nexather@gmail.com> | 2013-05-10 13:56:52 +0200 |
commit | 000dcd8064d60f9f34077ca0a1731af4b8773b52 (patch) | |
tree | 75481ac846059917321afd811ff869faf5b9a0c4 /src/game-server/map.h | |
parent | e2b6a4efe72333ab0e0761f4e9e8ce9eb29a5335 (diff) | |
download | manaserv-000dcd8064d60f9f34077ca0a1731af4b8773b52.tar.gz manaserv-000dcd8064d60f9f34077ca0a1731af4b8773b52.tar.bz2 manaserv-000dcd8064d60f9f34077ca0a1731af4b8773b52.tar.xz manaserv-000dcd8064d60f9f34077ca0a1731af4b8773b52.zip |
Partial rewrite and improvements of Warp object
Diffstat (limited to 'src/game-server/map.h')
-rw-r--r-- | src/game-server/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game-server/map.h b/src/game-server/map.h index 2ade1d75..33663d37 100644 --- a/src/game-server/map.h +++ b/src/game-server/map.h @@ -83,6 +83,9 @@ class MapObject const std::string &getProperty(const std::string &key) const { return mProperties.value(key); } + bool hasProperty(const std::string &key) const + { return mProperties.contains(key); } + const std::string &getName() const { return mName; } |