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, 6 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index d56928d0..38d63285 100644
--- a/src/map.h
+++ b/src/map.h
@@ -129,11 +129,16 @@ class Map
void setWalk(int x, int y, bool walkable);
/**
- * Tell if a tile is walkable or not
+ * Tell if a tile is walkable or not, includes checking beings.
*/
bool getWalk(int x, int y);
/**
+ * Tell if a tile collides, not including a check on beings.
+ */
+ bool tileCollides(int x, int y);
+
+ /**
* Returns the width of this map.
*/
int getWidth();