ldtk::tile_grid_base class

Derived classes

template<bool Bloated>
class tile_grid_t final

Public types

struct tile_info

Public functions

auto bloated() const -> bool pure virtual constexpr
Get whether the cell storage is bloated (u16) or not (u8).
auto cell_tile_info(int grid_x, int grid_y) const -> tile_info pure virtual constexpr
Get the cell tile info with the grid coordinate.
auto cell_tile_index(int grid_x, int grid_y) const -> tile_index pure virtual constexpr
Get the cell tile index with the grid coordinate.
auto cell_tile_x_flip(int grid_x, int grid_y) const -> bool pure virtual constexpr
Get the cell tile X flip with the grid coordinate.
auto cell_tile_y_flip(int grid_x, int grid_y) const -> bool pure virtual constexpr
Get the cell tile Y flip with the grid coordinate.
auto c_size() const -> const bn::size& constexpr
Grid-based size.
auto c_width() const -> int constexpr
Grid-based width.
auto c_height() const -> int constexpr
Grid-based height.