Pasaeta de linters
This commit is contained in:
@@ -225,7 +225,7 @@ void Intro::update() {
|
||||
ticks_ = SDL_GetTicks(); // Actualiza el contador de ticks
|
||||
Screen::get()->update(); // Actualiza el objeto screen
|
||||
|
||||
tiled_bg_->update(); // Actualiza el fondo
|
||||
tiled_bg_->update(); // Actualiza el fondo
|
||||
|
||||
switch (state_) {
|
||||
case IntroState::SCENES:
|
||||
@@ -240,18 +240,17 @@ void Intro::update() {
|
||||
}
|
||||
}
|
||||
|
||||
static const auto audio = Audio::get();
|
||||
audio->update();
|
||||
Audio::update();
|
||||
}
|
||||
|
||||
// Dibuja el objeto en pantalla
|
||||
void Intro::render() {
|
||||
static const auto screen = Screen::get();
|
||||
|
||||
screen->start();// Prepara para empezar a dibujar en la textura de juego
|
||||
screen->clean();// Limpia la pantalla
|
||||
static auto *const SCREEN = Screen::get();
|
||||
|
||||
tiled_bg_->render();// Dibuja el fondo
|
||||
SCREEN->start(); // Prepara para empezar a dibujar en la textura de juego
|
||||
SCREEN->clean(); // Limpia la pantalla
|
||||
|
||||
tiled_bg_->render(); // Dibuja el fondo
|
||||
|
||||
switch (state_) {
|
||||
case IntroState::SCENES: {
|
||||
@@ -263,8 +262,8 @@ void Intro::render() {
|
||||
case IntroState::POST:
|
||||
break;
|
||||
}
|
||||
|
||||
screen->render();// Vuelca el contenido del renderizador en pantalla
|
||||
|
||||
SCREEN->render(); // Vuelca el contenido del renderizador en pantalla
|
||||
}
|
||||
|
||||
// Bucle principal
|
||||
|
||||
Reference in New Issue
Block a user