ldtk::int_grid_base class

Derived classes

class int_grid_empty_t final
template<std::unsigned_integral Int>
class int_grid_t final

Constructors, destructors, conversion operators

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

Public functions

auto operator=(const int_grid_base&) -> int_grid_base& deleted constexpr
Deleted copy assignment operator.
auto operator=(int_grid_base&&) -> int_grid_base& defaulted constexpr
Defaulted move assignment operator.
auto cell_storage_size() const -> int pure virtual constexpr
Get the size of bytes used for cell storage.
(empty: 0, u8: 1, u16: 2, u32: 4)
auto cell_int(int grid_x, int grid_y) const -> int pure virtual constexpr
Get the cell int value 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.