|
| | Map (const char *path) |
| | Loads a .tmx map.
|
| |
|
void | generateTiles () |
| | Generates the map based on the loaded definition.
|
| |
|
template<> |
| std::optional< bool > | getLayerProperty (const std::vector< tmx::Property > &properties, std::string propertyName) |
| |
|
template<> |
| std::optional< int > | getLayerProperty (const std::vector< tmx::Property > &properties, std::string propertyName) |
| |
◆ Map()
| Map::Map |
( |
const char * | path | ) |
|
Loads a .tmx map.
Loads a .tmx file and extracts all relevant data. Any entities (including tiles) are only spawned once
- Parameters
-
| path | Path to the .tmx map file |
- See also
- Map::generateTiles()
The documentation for this class was generated from the following files:
- include/Map.h
- src/Map.cpp