1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 08:27:49 +08:00

Remove Expires and RemoveWhenNotAlive override

This commit is contained in:
smoogipoo 2021-03-18 19:39:42 +09:00
parent 3bfde7341f
commit 0c3c8141da
2 changed files with 0 additions and 8 deletions

View File

@ -13,8 +13,6 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
{ {
public class LegacyHitExplosion : CompositeDrawable, IAnimatableHitExplosion public class LegacyHitExplosion : CompositeDrawable, IAnimatableHitExplosion
{ {
public override bool RemoveWhenNotAlive => false;
private readonly Drawable sprite; private readonly Drawable sprite;
[CanBeNull] [CanBeNull]
@ -73,8 +71,6 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
.Then().ScaleTo(1.1f, animation_time * 0.8) .Then().ScaleTo(1.1f, animation_time * 0.8)
.Then().ScaleTo(0.9f, animation_time * 0.4) .Then().ScaleTo(0.9f, animation_time * 0.4)
.Then().ScaleTo(1f, animation_time * 0.2); .Then().ScaleTo(1f, animation_time * 0.2);
Expire(true);
} }
public void AnimateSecondHit() public void AnimateSecondHit()

View File

@ -16,8 +16,6 @@ namespace osu.Game.Rulesets.Taiko.UI
{ {
internal class DefaultHitExplosion : CircularContainer, IAnimatableHitExplosion internal class DefaultHitExplosion : CircularContainer, IAnimatableHitExplosion
{ {
public override bool RemoveWhenNotAlive => false;
private readonly HitResult result; private readonly HitResult result;
[CanBeNull] [CanBeNull]
@ -73,8 +71,6 @@ namespace osu.Game.Rulesets.Taiko.UI
this.ScaleTo(3f, 1000, Easing.OutQuint); this.ScaleTo(3f, 1000, Easing.OutQuint);
this.FadeOut(500); this.FadeOut(500);
Expire(true);
} }
public void AnimateSecondHit() public void AnimateSecondHit()