CLASS v1.8.0

tilemap::Map

kn::tilemap::Map

Declared in kraken/tilemap/TileMap.hpp

Reference

C++ API
Color backgroundColor {}

No description in the source header.

Map

function
Map(const std::filesystem::path &tmxPath="")

No description in the source header.

~Map

function
~Map()=default

No description in the source header.

draw

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

No description in the source header.

load

function
void load(const std::filesystem::path &tmxPath)

No description in the source header.

tmx::Orientation getOrientation() const

No description in the source header.

tmx::RenderOrder getRenderOrder() const

No description in the source header.

getMapSize

function
Vec2 getMapSize() const

No description in the source header.

getTileSize

function
Vec2 getTileSize() const

No description in the source header.

getBounds

function
Rect getBounds() const

No description in the source header.

double getHexSideLength() const

No description in the source header.

tmx::StaggerAxis getStaggerAxis() const

No description in the source header.

tmx::StaggerIndex getStaggerIndex() const

No description in the source header.

getTileSets

function
const std::vector< TileSet > & getTileSets() const

No description in the source header.

getLayer

function
std::shared_ptr< Layer > getLayer(const std::string &name) const

No description in the source header.

getAllLayers

function
const std::vector< std::shared_ptr< Layer > > & getAllLayers() const

No description in the source header.

std::vector< std::shared_ptr< TileLayer > > getTileLayers() const

No description in the source header.

std::vector< std::shared_ptr< ObjectGroup > > getObjectGroups() const

No description in the source header.

std::vector< std::shared_ptr< ImageLayer > > getImageLayers() const

No description in the source header.

Find your next step

Start typing to search the manual.