2020-11-17 05:59:34 +00: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.
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2020-11-20 07:30:48 +00:00
|
|
|
using JetBrains.Annotations;
|
2020-11-18 06:51:09 +00:00
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
2020-11-17 05:59:34 +00:00
|
|
|
namespace osu.Game.Rulesets.Judgements
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A skinnable judgement element which supports playing an animation from the current point in time.
|
|
|
|
/// </summary>
|
2020-11-18 06:51:09 +00:00
|
|
|
public interface IAnimatableJudgement : IDrawable
|
2020-11-17 05:59:34 +00:00
|
|
|
{
|
2020-11-20 07:14:38 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Start the animation for this judgement from the current point in time.
|
|
|
|
/// </summary>
|
2020-11-17 06:43:54 +00:00
|
|
|
void PlayAnimation();
|
2020-11-20 07:14:38 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get proxied content which should be displayed above all hitobjects.
|
|
|
|
/// </summary>
|
2020-11-20 07:30:48 +00:00
|
|
|
[CanBeNull]
|
2020-11-20 07:14:38 +00:00
|
|
|
Drawable GetAboveHitObjectsProxiedContent();
|
2020-11-17 05:59:34 +00:00
|
|
|
}
|
|
|
|
}
|