|
VEGO-Engine
0.1
|
Class responsible for the creation and management of the map or background. More...
#include <Map.h>
Public Member Functions | |
| Map (const char *path) | |
| Loads a .tmx map. | |
| void | generateTiles () |
| Used to generate the tiles of a previously loaded map. | |
Class responsible for the creation and management of the map or background.
| 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
| path | Path to the .tmx map file |
| void Map::generateTiles | ( | ) |
Used to generate the tiles of a previously loaded map.
Generates the map based on the loaded definition