28 std::vector<std::vector<id>> entities;
29 std::vector<Block *> blocks;
30 std::vector<Gem *> gems;
31 std::vector<Enemy *> enemies;
Creates a Gem object that inherits MapObject.
Definition: gem.h:10
void displayBlock(int, SDL_Renderer *)
Definition: mapLoader.cpp:188
Gem * getGem(int)
Definition: mapLoader.cpp:251
MapLoader(std::string, Texture *, int)
Definition: mapLoader.cpp:6
void displayEnemy(int, SDL_Renderer *)
Definition: mapLoader.cpp:206
char getType(int, int)
Definition: mapLoader.cpp:287
int getNumberOfBlocks()
Definition: mapLoader.cpp:215
Block * getBlock(int)
Definition: mapLoader.cpp:242
int getNumberOfEnemies()
Definition: mapLoader.cpp:233
int getNumberOfEntities()
Definition: mapLoader.cpp:269
int getIndex(int, int)
Definition: mapLoader.cpp:296
Creates a Block object that inherits MapObject.
Definition: block.h:10
void setEntityBlank(int, int)
Definition: mapLoader.cpp:305
int getNumberOfRows()
Definition: mapLoader.cpp:278
Creates a Texture for use with a renderer Creates a Texture from an image file, this can then be used...
Definition: texture.h:13
void displayGem(int, SDL_Renderer *)
Definition: mapLoader.cpp:197
a class to load in a map text file
Definition: mapLoader.h:16
void loadMap(std::string, int)
Definition: mapLoader.cpp:28
Creates an Enemy object that inherits MapObject which in turn inherits Creature.
Definition: enemy.h:10
Enemy * getEnemy(int)
Definition: mapLoader.cpp:260
int getNumberOfGems()
Definition: mapLoader.cpp:224
~MapLoader()
Definition: mapLoader.cpp:21
void sortType(int, int, int, int)
Definition: mapLoader.cpp:95