summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 9914b50f..82b9e842 100644
--- a/src/map.h
+++ b/src/map.h
@@ -267,6 +267,11 @@ class Map : public Properties
const std::string &getName() const;
/**
+ * Gives the map id based on filepath (ex: 009-1)
+ */
+ const std::string *getMapId() const;
+
+ /**
* Find a path from one location to the next.
*/
Path findPath(int startX, int startY, int destX, int destY,