class
#include <ldtk_tile_grid_base.h>
tile_grid_base
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.