tmxparser  2.1.0
 All Classes Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Tmx::MapTile Struct Reference

Struct to store information about a specific tile in the map layer. More...

#include <TmxMapTile.h>

Public Member Functions

 MapTile ()
 Default constructor.
 
 MapTile (unsigned _gid, int _tilesetFirstGid, unsigned _tilesetId)
 Will take a gid and read the attributes from the first two bits of it. More...
 

Public Attributes

int tilesetId
 Tileset id.
 
unsigned id
 Id.
 
unsigned gid
 Gid.
 
bool flippedHorizontally
 True when the tile should be drawn flipped horizontally.
 
bool flippedVertically
 True when the tile should be drawn flipped vertically.
 
bool flippedDiagonally
 True when the tile should be drawn flipped diagonally.
 

Detailed Description

Struct to store information about a specific tile in the map layer.

Constructor & Destructor Documentation

Tmx::MapTile::MapTile ( unsigned  _gid,
int  _tilesetFirstGid,
unsigned  _tilesetId 
)
inline

Will take a gid and read the attributes from the first two bits of it.


The documentation for this struct was generated from the following file: