CLASS v1.8.0

tilemap::TileLayer

kn::tilemap::TileLayer

Inherits kn::tilemap::Layer

Declared in kraken/tilemap/TileMap.hpp

Reference

C++ API

TileLayer

function
TileLayer()=default

No description in the source header.

~TileLayer

function
~TileLayer()=default

No description in the source header.

getTiles

function
const std::vector< Tile > & getTiles() const

No description in the source header.

getFromArea

function
std::vector< TileResult > getFromArea(const Rect &area) const

No description in the source header.

getFromPoint

function
std::optional< TileResult > getFromPoint(const Vec2 &position) const

No description in the source header.

draw

function
void draw(double angle=0.0, const Vec2 &pivot=Vec2{0.5, 0.5}) override

No description in the source header.

setOpacity

function
void setOpacity(double value) override

No description in the source header.

getOpacity

function
double getOpacity() const override

No description in the source header.

Find your next step

Start typing to search the manual.