ldtk::tile_grid_base class

Derived classes

template<bool Bloated>
class tile_grid_t final

Public types

struct tile_info

Constructors, destructors, conversion operators

tile_grid_base(const tile_grid_base&) deleted constexpr
Deleted copy constructor.
tile_grid_base(tile_grid_base&&) defaulted constexpr
Defaulted move constructor.

Public functions

auto operator=(const tile_grid_base&) -> tile_grid_base& deleted constexpr
Deleted copy assignment operator.
auto operator=(tile_grid_base&&) -> tile_grid_base& defaulted constexpr
Defaulted move assignment operator.
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.