Mana
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
MapReader Class Reference

Reader for XML map files (*.tmx) More...

#include <mapreader.h>

Static Public Member Functions

static MapreadMap (const std::string &filename)
 Read an XML map from a file.
 
static MapreadMap (XML::Node node, const std::string &path)
 Read an XML map from a parsed XML tree.
 

Detailed Description

Reader for XML map files (*.tmx)

Definition at line 33 of file mapreader.h.

Member Function Documentation

◆ readMap() [1/2]

Map * MapReader::readMap ( const std::string &  filename)
static

Read an XML map from a file.

Definition at line 78 of file mapreader.cpp.

◆ readMap() [2/2]

Map * MapReader::readMap ( XML::Node  node,
const std::string &  path 
)
static

Read an XML map from a parsed XML tree.

The path is used to find the location of referenced tileset images.

Definition at line 110 of file mapreader.cpp.


The documentation for this class was generated from the following files: