Arreglos en la estructura i format del codi

This commit is contained in:
2025-03-01 20:39:44 +01:00
parent 5c371e7517
commit 360ebfd2e6
12 changed files with 126 additions and 156 deletions

View File

@@ -101,27 +101,6 @@ Scoreboard::ClockData Scoreboard::getTime()
return time;
}
// Recarga la textura
void Scoreboard::reLoadTexture()
{
player_sprite_->getTexture()->reLoad();
// playerTexture->reLoad();
item_texture_->reLoad();
text_->reLoadTexture();
}
// Recarga la paleta
void Scoreboard::reLoadPalette()
{
// Reinicia el vector de colores
const std::vector<std::string> vColors = {"blue", "magenta", "green", "cyan", "yellow", "white", "bright_blue", "bright_magenta", "bright_green", "bright_cyan", "bright_yellow", "bright_white"};
color_.clear();
for (auto v : vColors)
{
color_.push_back(stringToColor(options.video.palette, v));
}
}
// Pone el marcador en modo pausa
void Scoreboard::setPaused(bool value)
{