![]() |
Gamedev Framework (gf)
0.9.0
A C++14 framework for 2D games
|
A rectangular part of a tileset. More...
#include <gf/Tmx.h>
Public Attributes | |
TmxProperties | properties |
The properties of the tile. More... | |
unsigned | id |
The local id of the tile. More... | |
std::string | type |
The type of the tile. More... | |
std::array< unsigned, 4 > | terrain |
The terrain if the corners (top-left, top-right, bottom-left, bottom-right) More... | |
unsigned | probability |
The probability of the tile. More... | |
std::unique_ptr< TmxImage > | image |
The image of this tile. More... | |
std::unique_ptr< TmxObjectLayer > | objects |
The objects in the tile. More... | |
std::unique_ptr< TmxAnimation > | animation |
The animation data of the tile. More... | |
A rectangular part of a tileset.
std::unique_ptr<TmxAnimation> gf::TmxTile::animation |
The animation data of the tile.
unsigned gf::TmxTile::id |
The local id of the tile.
std::unique_ptr<TmxImage> gf::TmxTile::image |
The image of this tile.
std::unique_ptr<TmxObjectLayer> gf::TmxTile::objects |
The objects in the tile.
unsigned gf::TmxTile::probability |
The probability of the tile.
TmxProperties gf::TmxTile::properties |
The properties of the tile.
std::array<unsigned, 4> gf::TmxTile::terrain |
The terrain if the corners (top-left, top-right, bottom-left, bottom-right)
std::string gf::TmxTile::type |
The type of the tile.