Jazz2::Tiles::TileMapLayer struct

Represents a single tile map layer.

Bundles a layer's grid of LayerTile entries with its dimensions, its LayerDescription and a visibility flag. A TileMap owns an ordered list of these layers, of which one is the main sprite layer used for collision while the rest provide foreground and parallax background detail.

Public variables

std::unique_ptr<LayerTile[]> Layout
Layer layout.
Vector2i LayoutSize
Layer layout size.
LayerDescription Description
Layer description.
bool Visible
Layer visibility.