18 void createStage(
string filename,
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int count);
19 void createStage(
string filename,
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int rcount,
int count);
20 void createStage(
string filename,
int startid,
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int count);
21 void createStage(
string filename,
int startid,
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int rcount,
int count);
30 Tileset setTileset(
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int count);
31 Tileset setTileset(
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int rcount,
int count);
32 Tileset setTileset(
int startid,
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int count);
33 Tileset setTileset(
int startid,
string name,
string img, SDL_Renderer* ren,
int width,
int height,
int r,
int rcount,
int count);
Class for loading in multiple Tiles.
void loadMap(string filename)
Read in map file with given path to the file.
void createStage(Map m, Tileset t)
Create a stage by passing in a Map and Tileset.
Map getMap() const
Get the Map.
The Stage class stores a Map and Tileset.
Map setMap(string filename)
Load in a new map by passing in the map file.
Tileset getTileset() const
Get the Tileset.
This class takes in a file and loads it in for the map.
void setMap(Map m)
Set the Map by passing in a Map.
void setTileset(Tileset t)
Set the Tileset with a given Tileset.