tilemap::Map
kn::tilemap::Map Declared in kraken/tilemap/TileMap.hpp
At a glance
19 membersbackgroundColorvariableMapfunction~MapfunctiondrawfunctionloadfunctiongetOrientationfunctiongetRenderOrderfunctiongetMapSizefunctiongetTileSizefunctiongetBoundsfunctiongetHexSideLengthfunctiongetStaggerAxisfunctiongetStaggerIndexfunctiongetTileSetsfunctiongetLayerfunctiongetAllLayersfunctiongetTileLayersfunctiongetObjectGroupsfunctiongetImageLayersfunctionReference
C++ APIbackgroundColor
variableColor backgroundColor {}No description in the source header.
Map
functionMap(const std::filesystem::path &tmxPath="")No description in the source header.
~Map
function~Map()=defaultNo description in the source header.
draw
functionNo description in the source header.
load
functionvoid load(const std::filesystem::path &tmxPath)No description in the source header.
getOrientation
functiontmx::Orientation getOrientation() constNo description in the source header.
getRenderOrder
functiontmx::RenderOrder getRenderOrder() constNo description in the source header.
getMapSize
functionVec2 getMapSize() constNo description in the source header.
getTileSize
functionVec2 getTileSize() constNo description in the source header.
getBounds
functionRect getBounds() constNo description in the source header.
getHexSideLength
functiondouble getHexSideLength() constNo description in the source header.
getStaggerAxis
functiontmx::StaggerAxis getStaggerAxis() constNo description in the source header.
getStaggerIndex
functiontmx::StaggerIndex getStaggerIndex() constNo description in the source header.
getTileSets
functionconst std::vector< TileSet > & getTileSets() constNo description in the source header.
getLayer
functionstd::shared_ptr< Layer > getLayer(const std::string &name) constNo description in the source header.
getAllLayers
functionconst std::vector< std::shared_ptr< Layer > > & getAllLayers() constNo description in the source header.
getTileLayers
functionstd::vector< std::shared_ptr< TileLayer > > getTileLayers() constNo description in the source header.
getObjectGroups
functionstd::vector< std::shared_ptr< ObjectGroup > > getObjectGroups() constNo description in the source header.
getImageLayers
functionstd::vector< std::shared_ptr< ImageLayer > > getImageLayers() constNo description in the source header.