template<bool Bloated>
ldtk::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.