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

Rename I{-> Animatable}HitExplosion

This commit is contained in:
Bartłomiej Dach 2021-03-15 20:38:11 +01:00
parent 00306c0075
commit 58220481db
4 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ using osu.Game.Rulesets.Taiko.UI;
namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
{
public class LegacyHitExplosion : CompositeDrawable, IHitExplosion
public class LegacyHitExplosion : CompositeDrawable, IAnimatableHitExplosion
{
public override bool RemoveWhenNotAlive => false;

View File

@ -14,7 +14,7 @@ using osuTK.Graphics;
namespace osu.Game.Rulesets.Taiko.UI
{
internal class DefaultHitExplosion : CircularContainer, IHitExplosion
internal class DefaultHitExplosion : CircularContainer, IAnimatableHitExplosion
{
public override bool RemoveWhenNotAlive => false;

View File

@ -89,7 +89,7 @@ namespace osu.Game.Rulesets.Taiko.UI
LifetimeStart = resultTime;
using (BeginAbsoluteSequence(resultTime))
(skinnable.Drawable as IHitExplosion)?.Animate(JudgedObject);
(skinnable.Drawable as IAnimatableHitExplosion)?.Animate(JudgedObject);
LifetimeEnd = skinnable.Drawable.LatestTransformEndTime;
}
@ -116,7 +116,7 @@ namespace osu.Game.Rulesets.Taiko.UI
using (BeginAbsoluteSequence(judgementResult.TimeAbsolute))
{
this.ResizeTo(new Vector2(TaikoStrongableHitObject.DEFAULT_STRONG_SIZE), 50);
(skinnable.Drawable as IHitExplosion)?.AnimateSecondHit();
(skinnable.Drawable as IAnimatableHitExplosion)?.AnimateSecondHit();
}
}
}

View File

@ -6,9 +6,9 @@ using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Taiko.UI
{
/// <summary>
/// Interface for hit explosions shown on the playfield's hit target in taiko.
/// A skinnable element of a hit explosion that supports playing an animation from the current point in time.
/// </summary>
public interface IHitExplosion
public interface IAnimatableHitExplosion
{
/// <summary>
/// Shows the hit explosion for the supplied <paramref name="drawableHitObject"/>.