2021-03-14 22:51:38 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using osu.Game.Rulesets.Objects.Drawables;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.UI
|
|
|
|
{
|
|
|
|
/// <summary>
|
2021-03-16 03:38:11 +08:00
|
|
|
/// A skinnable element of a hit explosion that supports playing an animation from the current point in time.
|
2021-03-14 22:51:38 +08:00
|
|
|
/// </summary>
|
2021-03-16 03:38:11 +08:00
|
|
|
public interface IAnimatableHitExplosion
|
2021-03-14 22:51:38 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Shows the hit explosion for the supplied <paramref name="drawableHitObject"/>.
|
|
|
|
/// </summary>
|
|
|
|
void Animate(DrawableHitObject drawableHitObject);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Transforms the hit explosion to visualise a secondary hit.
|
|
|
|
/// </summary>
|
|
|
|
void AnimateSecondHit();
|
|
|
|
}
|
|
|
|
}
|