1 #ifndef LEVEL_MANAGER_HPP
2 #define LEVEL_MANAGER_HPP
27 TileMapDescription(std::string tileSheetFileName,
int TileMapRows,
int TileMapCols,
int _TileWidth,
int _TileHeight, SDL_Renderer *ren)
28 : tileSheetFileName(tileSheetFileName), _TileMapRows(TileMapRows), _TileMapCols(TileMapCols), _TileWidth(_TileWidth), _TileHeight(_TileHeight), ren(ren)
54 static pair<GameObject*, std::vector<GameObject*>> Load(
const std::string &levelPath,
const TileMapDescription &descrip);
57 static pair<string, vector<int>> parseData(
string line);
Definition: LevelManager.hpp:41
TileMapDescription(std::string tileSheetFileName, int TileMapRows, int TileMapCols, int _TileWidth, int _TileHeight, SDL_Renderer *ren)
Definition: LevelManager.hpp:27
SDL_Renderer * ren
Definition: LevelManager.hpp:25
int _TileHeight
Definition: LevelManager.hpp:24
int _TileWidth
Definition: LevelManager.hpp:23
int _TileMapCols
Definition: LevelManager.hpp:22
int _TileMapRows
Definition: LevelManager.hpp:21
std::string tileSheetFileName
Definition: LevelManager.hpp:20
Definition: LevelManager.hpp:18