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 67135a99..32644299 100644
--- a/src/map.h
+++ b/src/map.h
@@ -324,6 +324,11 @@ class Map : public Properties
*/
TileAnimation *getAnimationForGid(int gid) const;
+ /**
+ * Tells whether the given pixel falls within the map boundaries.
+ */
+ bool containsPixel(int x, int y) const;
+
protected:
friend class Actor;