summaryrefslogtreecommitdiff
path: root/src/tileset.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-08 18:43:44 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-08 18:43:44 +0000
commit720f716ba8d98a85266b8e81a534737c6fcdcf5f (patch)
tree192c702c463db0661f42fa34addf8f957e19e169 /src/tileset.h
parentf25d5640eba5b1a0bbbc050a858aa4cdbdffdc7f (diff)
downloadmana-720f716ba8d98a85266b8e81a534737c6fcdcf5f.tar.gz
mana-720f716ba8d98a85266b8e81a534737c6fcdcf5f.tar.bz2
mana-720f716ba8d98a85266b8e81a534737c6fcdcf5f.tar.xz
mana-720f716ba8d98a85266b8e81a534737c6fcdcf5f.zip
Implemented support for an arbitrary number of map layers. The only layer
requirement for map layers are now that the fringe layer is called "Fringe" and that the collision layer is called "Collision".
Diffstat (limited to 'src/tileset.h')
-rw-r--r--src/tileset.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tileset.h b/src/tileset.h
index 6af69235..625fac1b 100644
--- a/src/tileset.h
+++ b/src/tileset.h
@@ -44,8 +44,7 @@ class Tileset : public ImageSet
/**
* Returns the first gid.
*/
- int
- getFirstGid()
+ int getFirstGid() const
{
return mFirstGid;
}