Afegits estats al fade

Afegida opció de prefade
El modo demo ja comença a meitat del "meollo"
This commit is contained in:
2025-01-04 13:40:22 +01:00
parent 06eb05f065
commit 7b8f16610a
9 changed files with 139 additions and 86 deletions

View File

@@ -45,7 +45,7 @@ HiScoreTable::HiScoreTable()
background_->setTransition(0.8f);
fade_->setColor(fade_color.r, fade_color.g, fade_color.b);
fade_->setType(FadeType::RANDOM_SQUARE);
fade_->setPost(param.fade.post_duration);
fade_->setPostDuration(param.fade.post_duration);
fade_->setMode(fade_mode_);
fade_->activate();
@@ -197,7 +197,7 @@ void HiScoreTable::checkEvents()
reloadTextures();
}
}
// Comprueba el cursor
Mouse::handleEvent(event);
}