diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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(); |