1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Change default IsBonus definition and remove unnecessary overrides

This commit is contained in:
Dean Herbert 2018-06-29 17:07:08 +09:00
parent cacabeb67e
commit c0b65a6a73
7 changed files with 1 additions and 7 deletions

View File

@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Catch.Judgements
public class CatchBananaJudgement : CatchJudgement
{
public override bool AffectsCombo => false;
public override bool IsBonus => true;
public override bool ShouldExplode => true;

View File

@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Mania.Judgements
public class HoldNoteJudgement : ManiaJudgement
{
public override bool AffectsCombo => false;
public override bool IsBonus => true;
protected override int NumericResultFor(HitResult result) => 0;
}

View File

@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Mania.Judgements
public class HoldNoteTickJudgement : ManiaJudgement
{
public override bool AffectsCombo => false;
public override bool IsBonus => true;
protected override int NumericResultFor(HitResult result) => 20;
}

View File

@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Osu.Judgements
public class OsuSliderTailJudgement : OsuJudgement
{
public override bool AffectsCombo => false;
public override bool IsBonus => true;
protected override int NumericResultFor(HitResult result) => 0;
}

View File

@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Taiko.Judgements
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public override bool AffectsCombo => false;
public override bool IsBonus => true;
protected override int NumericResultFor(HitResult result)
{

View File

@ -6,7 +6,6 @@ namespace osu.Game.Rulesets.Taiko.Judgements
public class TaikoStrongHitJudgement : TaikoJudgement
{
public override bool AffectsCombo => false;
public override bool IsBonus => true;
public TaikoStrongHitJudgement()
{

View File

@ -52,7 +52,7 @@ namespace osu.Game.Rulesets.Judgements
/// <summary>
/// Whether the <see cref="Result"/> should be counted as base or bonus score.
/// </summary>
public virtual bool IsBonus => false;
public virtual bool IsBonus => !AffectsCombo;
/// <summary>
/// The numeric representation for the result achieved.