-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #542 from smoogipooo/taiko_drumroll_tick_judgements
Add DrumRoll tick judgement info.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
osu.Game.Modes.Taiko/Judgements/TaikoDrumRollTickJudgement.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. | ||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE | ||
|
||
namespace osu.Game.Modes.Taiko.Judgements | ||
{ | ||
public class TaikoDrumRollTickJudgement : TaikoJudgement | ||
{ | ||
/// <summary> | ||
/// Drum roll ticks don't display judgement text. | ||
/// </summary> | ||
public override string ScoreString => string.Empty; | ||
|
||
/// <summary> | ||
/// Drum roll ticks don't display judgement text. | ||
/// </summary> | ||
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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters