Arreglos en la estructura i format del codi
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user