#include <ldtk_int_grid_t.h>
template<std::unsigned_integral Int>
int_grid_t class final
Base classes
- class int_grid_base
Public functions
- auto cell_storage_size() const -> int final 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 final constexpr
- Get the cell int value with the grid coordinate.
- auto cell_int_no_virtual(int grid_x, int grid_y) const -> int constexpr
- Get the cell int value with the grid coordinate.
Function documentation
template<std::unsigned_integral Int>
int ldtk:: int_grid_t<Int>:: cell_int(int grid_x,
int grid_y) const final constexpr
Get the cell int value with the grid coordinate.
template<std::unsigned_integral Int>
int ldtk:: int_grid_t<Int>:: cell_int_no_virtual(int grid_x,
int grid_y) const constexpr
Get the cell int value with the grid coordinate.