diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-07-19 20:48:05 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-07-19 20:48:05 +0000 |
commit | 6722e88207a733e4912cabf957f966d1c4a8d102 (patch) | |
tree | 8c394cd4ee3b05699386718db0863f7dc81dca7b /src/resources/mapreader.h | |
parent | 02ea6cebf13e7a61bf049ab70d16c6248e9d2643 (diff) | |
download | mana-6722e88207a733e4912cabf957f966d1c4a8d102.tar.gz mana-6722e88207a733e4912cabf957f966d1c4a8d102.tar.bz2 mana-6722e88207a733e4912cabf957f966d1c4a8d102.tar.xz mana-6722e88207a733e4912cabf957f966d1c4a8d102.zip |
Implemented loading for the way Tiled saves properties since version 0.6.0 and
updated all current maps.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r-- | src/resources/mapreader.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index eb5a8577..ad21762d 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -28,6 +28,7 @@ #include <libxml/tree.h> +class Properties; class Map; class Tileset; @@ -52,6 +53,15 @@ class MapReader private: /** + * Reads the properties element. + * + * @param props the Properties instance to which the properties will + * be assigned + */ + static void + readProperties(xmlNodePtr node, Properties* props); + + /** * Reads a map layer. */ static void |