|
| 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.
|
| |
◆ 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
-
| path | The path to the map file |
- Returns
- Boolean for success
◆ loadMapTmx()
| void Map::loadMapTmx |
( |
const char * | path | ) |
|
|
static |
Loads a .tmx map.
- Parameters
-
| path | Path to the .tmx map file |
The documentation for this class was generated from the following files:
- include/Map.h
- src/Map.cpp