1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 18:23:04 +08:00

Reorder methods

This commit is contained in:
Dean Herbert 2024-03-14 22:44:26 +08:00
parent d7769ec3e2
commit 888245b44f
No known key found for this signature in database

View File

@ -131,6 +131,25 @@ namespace osu.Game.Screens.Play
}, countdown_time);
}
protected override void PopOut()
{
this.Delay(300).FadeOut();
outerContent.FadeOut();
countdownBackground.FadeOut();
countdownText.FadeOut();
if (countdownComplete)
{
countdownProgress.ScaleTo(2f, 300, Easing.OutQuint);
countdownProgress.FadeOut(100, Easing.Out);
}
else
countdownProgress.FadeOut();
scheduledResume?.Cancel();
}
protected override void Update()
{
base.Update();
@ -154,24 +173,5 @@ namespace osu.Game.Screens.Play
countdownCount = newCount;
}
protected override void PopOut()
{
this.Delay(300).FadeOut();
outerContent.FadeOut();
countdownBackground.FadeOut();
countdownText.FadeOut();
if (countdownComplete)
{
countdownProgress.ScaleTo(2f, 300, Easing.OutQuint);
countdownProgress.FadeOut(100, Easing.Out);
}
else
countdownProgress.FadeOut();
scheduledResume?.Cancel();
}
}
}