tmxparser  2.1.0
 All Classes Functions Variables Pages
Public Member Functions | List of all members
Tmx::Image Class Reference

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.
 

Detailed Description

A class used for storing information about an image within a tileset.


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