summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-06 17:42:17 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-06 17:42:17 +0000
commit5dc6243dfc06924d9206b2987bb7ededaa87f8f1 (patch)
tree565b4c983e53eba75801a0bfc5a77264627527a7 /src/resources/mapreader.h
parent000bbf497024f5d9c9c7521c0a423f458641a32e (diff)
downloadmana-5dc6243dfc06924d9206b2987bb7ededaa87f8f1.tar.gz
mana-5dc6243dfc06924d9206b2987bb7ededaa87f8f1.tar.bz2
mana-5dc6243dfc06924d9206b2987bb7ededaa87f8f1.tar.xz
mana-5dc6243dfc06924d9206b2987bb7ededaa87f8f1.zip
Added collision tileset... last commit missed there files.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index 69c531de..59270f25 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -89,6 +89,11 @@ class MapReader
*/
static Image *getTileWithGid(int gid);
+ /**
+ * Finds the tile set that a tile with the given global id is part of.
+ */
+ static Tileset *MapReader::getTilesetWithGid(int gid);
+
static std::vector<Tileset*> tilesets;
};