Fade: el color passa a estar en param.h

This commit is contained in:
2025-06-26 14:04:01 +02:00
parent 7c473d7a3d
commit 13c4f66228
12 changed files with 60 additions and 43 deletions

View File

@@ -39,7 +39,7 @@ Instructions::Instructions()
view_ = param.game.game_area.rect;
// Inicializa objetos
fade_->setColor(FADE_COLOR.r, FADE_COLOR.g, FADE_COLOR.b);
fade_->setColor(param.fade.color);
fade_->setType(FadeType::FULLSCREEN);
fade_->setPostDuration(param.fade.post_duration);
fade_->setMode(FadeMode::IN);