mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Reorder methods
This commit is contained in:
parent
d7769ec3e2
commit
888245b44f
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user