#include <ldtk_tile_grid_t.h>
template<bool Bloated>
tile_grid_t class final
Base classes
- class tile_grid_base
Public functions
- auto bloated() const -> bool final 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 final constexpr - Get the cell tile info with the grid coordinate.
-
auto cell_tile_index(int grid_x,
int grid_y) const -> tile_
index final constexpr - Get the cell tile index with the grid coordinate.
- auto cell_tile_x_flip(int grid_x, int grid_y) const -> bool final constexpr
- Get the cell tile X flip with the grid coordinate.
- auto cell_tile_y_flip(int grid_x, int grid_y) const -> bool final constexpr
- Get the cell tile Y flip with the grid coordinate.
-
auto cell_tile_info_no_virtual(int grid_x,
int grid_y) const -> tile_
info constexpr - Get the cell tile info with the grid coordinate.
-
auto cell_tile_index_no_virtual(int grid_x,
int grid_y) const -> tile_
index constexpr - Get the cell tile index with the grid coordinate.
- auto cell_tile_x_flip_no_virtual(int grid_x, int grid_y) const -> bool constexpr
- Get the cell tile X flip with the grid coordinate.
- auto cell_tile_y_flip_no_virtual(int grid_x, int grid_y) const -> bool constexpr
- Get the cell tile Y flip with the grid coordinate.
Function documentation
template<bool Bloated>
tile_ info ldtk:: tile_grid_t<Bloated>:: cell_tile_info(int grid_x,
int grid_y) const final constexpr
Get the cell tile info with the grid coordinate.
template<bool Bloated>
tile_ index ldtk:: tile_grid_t<Bloated>:: cell_tile_index(int grid_x,
int grid_y) const final constexpr
Get the cell tile index with the grid coordinate.
template<bool Bloated>
bool ldtk:: tile_grid_t<Bloated>:: cell_tile_x_flip(int grid_x,
int grid_y) const final constexpr
Get the cell tile X flip with the grid coordinate.
template<bool Bloated>
bool ldtk:: tile_grid_t<Bloated>:: cell_tile_y_flip(int grid_x,
int grid_y) const final constexpr
Get the cell tile Y flip with the grid coordinate.
template<bool Bloated>
tile_ info ldtk:: tile_grid_t<Bloated>:: cell_tile_info_no_virtual(int grid_x,
int grid_y) const constexpr
Get the cell tile info with the grid coordinate.
template<bool Bloated>
tile_ index ldtk:: tile_grid_t<Bloated>:: cell_tile_index_no_virtual(int grid_x,
int grid_y) const constexpr
Get the cell tile index with the grid coordinate.
template<bool Bloated>
bool ldtk:: tile_grid_t<Bloated>:: cell_tile_x_flip_no_virtual(int grid_x,
int grid_y) const constexpr
Get the cell tile X flip with the grid coordinate.
template<bool Bloated>
bool ldtk:: tile_grid_t<Bloated>:: cell_tile_y_flip_no_virtual(int grid_x,
int grid_y) const constexpr
Get the cell tile Y flip with the grid coordinate.