mirror of
https://github.com/ppy/osu.git
synced 2024-11-17 22:02:56 +08:00
32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
// 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.Framework.Graphics;
|
|
using osu.Game.Rulesets.Judgements;
|
|
using osu.Game.Rulesets.Objects.Drawables;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.UI
|
|
{
|
|
/// <summary>
|
|
/// Text that is shown as judgement when a hit object is hit or missed.
|
|
/// </summary>
|
|
public class DrawableTaikoJudgement : DrawableJudgement
|
|
{
|
|
/// <summary>
|
|
/// Creates a new judgement text.
|
|
/// </summary>
|
|
/// <param name="judgedObject">The object which is being judged.</param>
|
|
/// <param name="result">The judgement to visualise.</param>
|
|
public DrawableTaikoJudgement(JudgementResult result, DrawableHitObject judgedObject)
|
|
: base(result, judgedObject)
|
|
{
|
|
}
|
|
|
|
protected override void ApplyHitAnimations()
|
|
{
|
|
this.MoveToY(-100, 500);
|
|
base.ApplyHitAnimations();
|
|
}
|
|
}
|
|
}
|