Clean up + document taiko health processor

This commit is contained in:
smoogipoo 2019-12-26 15:28:30 +09:00
parent e0c1072ab2
commit 429272b864
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,10 @@
namespace osu.Game.Rulesets.Taiko.Scoring
{
/// <summary>
/// A <see cref="HealthProcessor"/> for the taiko ruleset.
/// Taiko fails if the player has not half-filled their health by the end of the map.
/// </summary>
public class TaikoHealthProcessor : AccumulatingHealthProcessor
{
/// <summary>
@ -41,6 +45,5 @@ public override void ApplyBeatmap(IBeatmap beatmap)
protected override double GetHealthIncreaseFor(JudgementResult result)
=> base.GetHealthIncreaseFor(result) * (result.Type == HitResult.Miss ? hpMissMultiplier : hpMultiplier);
}
}