|
enum | Flip : std::uint8_t {
None = 0x0,
HorizontalFlip = 0x8,
VerticalFlip = 0x4,
DiagonalFlip = 0x2,
Rotation90 = HorizontalFlip | DiagonalFlip,
Rotation180 = HorizontalFlip | VerticalFlip,
Rotation270 = VerticalFlip | DiagonalFlip
} |
|
|
| Tile (const TileData &tiledata, const TilesetData &tilesetdata, std::uint32_t tilegid, int posx, int posy, Flip tileflip=Flip::None) |
|
auto | getTileTexCoo () const -> std::vector< sf::Vector2f > |
|
auto | getTileTextureRect () const -> ns::FloatRect |
|
|
static auto | getFlipFromGid (std::uint32_t gid) -> Flip |
|
|
const TileData & | data |
|
const TilesetData & | tileset |
|
const std::uint32_t | gid |
|
const int | x |
|
const int | y |
|
const Flip | flip |
|
|
static std::optional< Tile > | None |
|
static std::uint32_t | gidmask |
|
Definition at line 32 of file Tile.hpp.
The documentation for this struct was generated from the following file: