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