diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -94,12 +94,7 @@ class Map /** * Loads a map file (gat). */ - bool load(const std::string &mapFile); - - /** - * Loads an XML map file (tmx). - */ - bool loadXmlMap(const std::string &mapFile); + static Map *load(const std::string &mapFile); /** * Sets the size of the map. This will destroy any existing map data. @@ -166,6 +161,4 @@ class Map int onClosedList, onOpenList; }; -extern Map tiledMap; - #endif |