![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A wang tile. More...
#include <gf/Tmx.h>
Public Attributes | |
int | tileid |
The id of the tile. More... | |
std::array< int, 8 > | wangid |
the wang colors of the corners and edges (top, top-right, right, bottom-right, bottom, bottom-left, left, top-left) More... | |
Static Public Attributes | |
static constexpr std::size_t | Top = 0 |
Index of the top color. More... | |
static constexpr std::size_t | TopRight = 1 |
Index of the top-right color. More... | |
static constexpr std::size_t | Right = 2 |
Index of the right color. More... | |
static constexpr std::size_t | BottomRight = 3 |
Index of the bottom-right color. More... | |
static constexpr std::size_t | Bottom = 4 |
Index of the bottom color. More... | |
static constexpr std::size_t | BottomLeft = 5 |
Index of the bottom-left color. More... | |
static constexpr std::size_t | Left = 6 |
Index of the left color. More... | |
static constexpr std::size_t | TopLeft = 7 |
Index of the top-left color. More... | |
A wang tile.
|
staticconstexpr |
Index of the bottom color.
|
staticconstexpr |
Index of the bottom-left color.
|
staticconstexpr |
Index of the bottom-right color.
|
staticconstexpr |
Index of the left color.
|
staticconstexpr |
Index of the right color.
int gf::TmxWangTile::tileid |
The id of the tile.
|
staticconstexpr |
Index of the top color.
|
staticconstexpr |
Index of the top-left color.
|
staticconstexpr |
Index of the top-right color.
std::array<int, 8> gf::TmxWangTile::wangid |
the wang colors of the corners and edges (top, top-right, right, bottom-right, bottom, bottom-left, left, top-left)