Cambios en animaciones y tiles

This commit is contained in:
2022-09-24 17:26:29 +02:00
parent 911061899d
commit 8bdb2fdf29
7 changed files with 43 additions and 73 deletions

View File

@@ -80,6 +80,9 @@ private:
// Pinta el mapa de tiles en la textura
void fillMapTexture(SDL_Texture &layer, std::vector<int> tilemap, bool clean);
// Lee la matriz de tiles desde un fichero tmx a un vector
std::vector<int> readTilesFromFile(std::ifstream &file);
public:
// Constructor
Map(std::string file, SDL_Renderer *renderer, Asset *asset, ItemTracker *itemTracker);