49 void Parse(
const tinyxml2::XMLNode *imageNode);
52 const std::string &
GetSource()
const {
return source; }
62 {
return transparent_color; }
Tmx::Color GetTransparentColor() const
Get the transparent color used in the image. If none is set return a fully transparent color...
Definition: TmxImage.h:61
int GetHeight() const
Get the height of the image.
Definition: TmxImage.h:58
const std::string & GetSource() const
Get the path to the file of the image (relative to the map)
Definition: TmxImage.h:52
A class used for storing information about a color.
Definition: TmxColor.h:38
int GetWidth() const
Get the width of the image.
Definition: TmxImage.h:55
A class used for storing information about an image within a tileset.
Definition: TmxImage.h:42
void Parse(const tinyxml2::XMLNode *imageNode)
Parses an image element.
Definition: TmxImage.cpp:44