2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
2020-11-16 16:23:02 +08:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
2021-09-02 15:31:43 +08:00
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
2022-11-07 16:12:58 +08:00
|
|
|
|
using osuTK;
|
2022-11-07 15:31:06 +08:00
|
|
|
|
using DefaultJudgementPiece = osu.Game.Rulesets.Taiko.Skinning.Default.DefaultJudgementPiece;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
{
|
2022-11-07 16:12:58 +08:00
|
|
|
|
public DrawableTaikoJudgement()
|
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.Centre;
|
|
|
|
|
Origin = Anchor.Centre;
|
|
|
|
|
|
|
|
|
|
RelativeSizeAxes = Axes.Both;
|
|
|
|
|
Size = Vector2.One;
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-07 15:31:06 +08:00
|
|
|
|
protected override Drawable CreateDefaultJudgement(HitResult result) => new DefaultJudgementPiece(result);
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|