Merge branch 'master' into bindable-valuechanged

This commit is contained in:
Dean Herbert
2019-02-22 17:14:05 +09:00
committed by GitHub
3 changed files with 10 additions and 2 deletions

View File

@ -58,5 +58,7 @@ namespace osu.Game.Rulesets.Judgements
/// <param name="result">The <see cref="JudgementResult"/> to find the numeric health increase for.</param>
/// <returns>The numeric health increase of <paramref name="result"/>.</returns>
public double HealthIncreaseFor(JudgementResult result) => HealthIncreaseFor(result.Type);
public override string ToString() => $"AffectsCombo:{AffectsCombo} MaxResult:{MaxResult} MaxScore:{MaxNumericResult}";
}
}

View File

@ -55,5 +55,7 @@ namespace osu.Game.Rulesets.Judgements
{
Judgement = judgement;
}
public override string ToString() => $"{Type} (Score:{Judgement.NumericResultFor(this)} HP:{Judgement.HealthIncreaseFor(this)} {Judgement})";
}
}