VEGO-Engine  0.1
Loading...
Searching...
No Matches
Map Class Reference

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.
 

Detailed Description

Class responsible for the creation and management of the map or background.

Constructor & Destructor Documentation

◆ 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
pathPath to the .tmx map file
See also
Map::generateTiles()

Member Function Documentation

◆ generateTiles()

void Map::generateTiles ( )

Used to generate the tiles of a previously loaded map.

Generates the map based on the loaded definition


The documentation for this class was generated from the following files: