class
#include <ldtk_int_grid_base.h>
int_grid_base
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.