diff options
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r-- | src/resources/mapreader.h | 5 |
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; }; |