summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index cb0271b3..6baf7411 100644
--- a/src/map.h
+++ b/src/map.h
@@ -227,6 +227,13 @@ class Map : public Properties
bool getWalk(int x, int y,
unsigned char walkmask = BLOCKMASK_WALL) const;
+#ifdef EATHENA_SUPPORT
+ /**
+ * Tells whether a tile is occupied by a being.
+ */
+ bool occupied(int x, int y) const;
+#endif
+
/**
* Returns the width of this map in tiles.
*/