diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-30 17:19:33 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-30 17:19:33 +0000 |
commit | 3c0af406c2b8d74558e236f9f99862ea0e33bf4a (patch) | |
tree | 0018d3d7f6d03c07570c36ecaa5818929b2c90e6 /src/game-server/mapcomposite.hpp | |
parent | 7a6bef223e5267eb377e39881de946251f7c7924 (diff) | |
download | manaserv-3c0af406c2b8d74558e236f9f99862ea0e33bf4a.tar.gz manaserv-3c0af406c2b8d74558e236f9f99862ea0e33bf4a.tar.bz2 manaserv-3c0af406c2b8d74558e236f9f99862ea0e33bf4a.tar.xz manaserv-3c0af406c2b8d74558e236f9f99862ea0e33bf4a.zip |
Just for fun: a trigger to change map.
Diffstat (limited to 'src/game-server/mapcomposite.hpp')
-rw-r--r-- | src/game-server/mapcomposite.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game-server/mapcomposite.hpp b/src/game-server/mapcomposite.hpp index 84fbb2d0..84599d39 100644 --- a/src/game-server/mapcomposite.hpp +++ b/src/game-server/mapcomposite.hpp @@ -188,6 +188,12 @@ class MapComposite { */ ZoneIterator getAroundPlayerIterator(Player *, int radius) const; + /** + * Gets all the objects on the map. + */ + Objects const &getObjects() const + { return objects; } + private: MapComposite(MapComposite const &); |