summaryrefslogtreecommitdiff
path: root/src/game-server/mapcomposite.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/mapcomposite.hpp')
-rw-r--r--src/game-server/mapcomposite.hpp6
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 &);