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

Static Public Member Functions

static void loadMap (const char *path, int sizeX, int sizeY, GameInternal *game, const std::map< int, std::pair< std::string, bool > > *textureDict)
 This loads a map.
 
static void addTile (unsigned long id, int x, int y, GameInternal *game, const std::map< int, std::pair< std::string, bool > > *textureDict)
 
static void loadMapTmx (const char *path)
 Loads a .tmx map.
 

Member Function Documentation

◆ loadMap()

void Map::loadMap ( const char * path,
int sizeX,
int sizeY,
GameInternal * game,
const std::map< int, std::pair< std::string, bool > > * textureDict )
static

This loads a map.

Parameters
pathThe path to the map file
Returns
Boolean for success

◆ loadMapTmx()

void Map::loadMapTmx ( const char * path)
static

Loads a .tmx map.

Parameters
pathPath to the .tmx map file

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