A class used for storing information about an image within a tileset. More...
#include <TmxImage.h>
Public Member Functions | |
| void | Parse (const tinyxml2::XMLNode *imageNode) |
| Parses an image element. | |
| const std::string & | GetSource () const |
| Get the path to the file of the image (relative to the map) | |
| int | GetWidth () const |
| Get the width of the image. | |
| int | GetHeight () const |
| Get the height of the image. | |
| Tmx::Color | GetTransparentColor () const |
| Get the transparent color used in the image. If none is set return a fully transparent color. | |
A class used for storing information about an image within a tileset.
1.8.6