TileLayer class final

Base classes

class Layer

Constructors, destructors, conversion operators

TileLayer(int const tile_size, int const map_width, int const map_height, const std::vector<Tileset>& tile_sets)

Public functions

void update() virtual
void render() const virtual
void setTileData(const std::vector<int>& data)
void setTileSize(int const tile_size)
auto getTileData() const -> const std::vector<int>&
auto getTileSize() const -> int
auto getTilesetByID(int const tile_id) const -> Tileset