summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index cf34f96f..d58fdf90 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -47,10 +47,16 @@ class MapReader
private:
/**
- * Helper function that handler reading the map layers.
+ * Helper function that handles reading a map layer.
*/
static void readLayer(xmlNodePtr node, Map *map, int layer);
+ /**
+ * Helper function that handles reading a tile set.
+ */
+ static void readTileset(xmlNodePtr node, const std::string &path,
+ Map *map);
+
static int getProperty(xmlNodePtr node, const char* name, int def);
};