libtmx
0.4.0
an C++11 library for reading TMX files
|
A cell is a square on a map layer that is filled with a tile. More...
#include <tmx/Cell.h>
Public Member Functions | |
Cell (unsigned gid, bool hflip=false, bool vflip=false, bool dflip=false) | |
Cell constructor. More... | |
unsigned | getGID () const noexcept |
Get the global id of the tile. More... | |
bool | isHorizontallyFlipped () const noexcept |
Tell whether the tile must be flipped horizontally. More... | |
bool | isVerticallyFlipped () const noexcept |
Tell whether the tile must be flipped vertically. More... | |
bool | isDiagonallyFlipped () const noexcept |
Tell whether the tile must be flipped diagonally. More... | |
A cell is a square on a map layer that is filled with a tile.
|
inline |
Cell constructor.
|
inlinenoexcept |
Get the global id of the tile.
|
inlinenoexcept |
Tell whether the tile must be flipped diagonally.
|
inlinenoexcept |
Tell whether the tile must be flipped horizontally.
|
inlinenoexcept |
Tell whether the tile must be flipped vertically.