diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-05-01 01:30:04 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-05-01 01:30:30 +0200 |
commit | 92fd074aa85e2357bfe1ab642209dd5a0d87e4d5 (patch) | |
tree | d4f43886bdaf1ad7710470e13a525edc1816c77a /src/map.h | |
parent | b7a04b08bb5b8283fadefb7fc57695720a7ddd9e (diff) | |
download | mana-92fd074aa85e2357bfe1ab642209dd5a0d87e4d5.tar.gz mana-92fd074aa85e2357bfe1ab642209dd5a0d87e4d5.tar.bz2 mana-92fd074aa85e2357bfe1ab642209dd5a0d87e4d5.tar.xz mana-92fd074aa85e2357bfe1ab642209dd5a0d87e4d5.zip |
Checking being positions send by the server
Reviewed-by: Bertram
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; |