summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-05 10:14:17 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-05 10:14:17 +0000
commitc887f550b55b6160f074cb3160a4442ca659fad9 (patch)
tree43cd78f7bdbf00e0764792a2dbd49e7b115ac971 /src/map.h
parente880b17081962580afea1d003600afffe062d427 (diff)
downloadmana-client-c887f550b55b6160f074cb3160a4442ca659fad9.tar.gz
mana-client-c887f550b55b6160f074cb3160a4442ca659fad9.tar.bz2
mana-client-c887f550b55b6160f074cb3160a4442ca659fad9.tar.xz
mana-client-c887f550b55b6160f074cb3160a4442ca659fad9.zip
Implemented item dropping.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h
index 6d366cb3..c8a6fdb3 100644
--- a/src/map.h
+++ b/src/map.h
@@ -202,12 +202,12 @@ class Map : public Properties
/**
* Tells whether a tile is occupied by a being.
*/
- bool occupied(int x, int y);
+ bool occupied(int x, int y) const;
/**
* Tells whether the given coordinates fall within the map boundaries.
*/
- bool contains(int x, int y);
+ bool contains(int x, int y) const;
int mWidth, mHeight;
int mTileWidth, mTileHeight;