Añadido el degradado de fondo al archivo de mapa

This commit is contained in:
2022-08-23 19:00:09 +02:00
parent 2425ab5142
commit f2ea31a564
8 changed files with 109 additions and 67 deletions

View File

@@ -44,6 +44,8 @@ private:
LTexture *texture_tile; // Textura con los graficos de los tiles habitación
SDL_Texture *map_texture; // Textura para dibujar el mapa de la habitación
std::vector<Enemy *> enemy_list; // Listado con los enemigos de la habitación
color_t bgColor1; // Color superior del degradado de fondo
color_t bgColor2; // Color inferior del degradado de fondo
int tile_size; // Ancho del tile en pixels
int map_width; // Ancho del mapa en tiles