diff --git a/osu.Game.Modes.Taiko/Judgements/TaikoDrumRollTickJudgementInfo.cs b/osu.Game.Modes.Taiko/Judgements/TaikoDrumRollTickJudgementInfo.cs new file mode 100644 index 0000000000..0c750bd705 --- /dev/null +++ b/osu.Game.Modes.Taiko/Judgements/TaikoDrumRollTickJudgementInfo.cs @@ -0,0 +1,34 @@ +// Copyright (c) 2007-2017 ppy Pty Ltd . +// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE + +namespace osu.Game.Modes.Taiko.Judgements +{ + public class TaikoDrumRollTickJudgementInfo : TaikoJudgementInfo + { + /// + /// Drum roll ticks don't display judgement text. + /// + public override string ScoreString => string.Empty; + + /// + /// Drum roll ticks don't display judgement text. + /// + public override string MaxScoreString => string.Empty; + + protected override int NumericResultForScore(TaikoHitResult result) + { + switch (result) + { + default: + return 0; + case TaikoHitResult.Great: + return 200; + } + } + + protected override int NumericResultForAccuracy(TaikoHitResult result) + { + return 0; + } + } +} \ No newline at end of file diff --git a/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj b/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj index 312bde5f04..b9401b5647 100644 --- a/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj +++ b/osu.Game.Modes.Taiko/osu.Game.Modes.Taiko.csproj @@ -49,6 +49,7 @@ +