1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 07:22:54 +08:00

Rename SuccessfulHitResult->LowestSuccessfulHitResult

This commit is contained in:
Ivan Pavluk 2018-12-12 13:24:58 +07:00
parent ffb91b4afc
commit e49e2fda9e
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ namespace osu.Game.Rulesets.Taiko.Objects
{ HitResult.Miss, (270, 190, 140) },
};
protected override HitResult SuccessfulHitResult => HitResult.Good;
protected override HitResult LowestSuccessfulHitResult => HitResult.Good;
public override bool IsHitResultAllowed(HitResult result)
{

View File

@ -53,7 +53,7 @@ namespace osu.Game.Rulesets.Objects
/// <summary>
/// The <see cref="HitResult"/> with the largest hit window that produces a successful hit.
/// </summary>
protected virtual HitResult SuccessfulHitResult => HitResult.Meh;
protected virtual HitResult LowestSuccessfulHitResult => HitResult.Meh;
/// <summary>
/// Check whether it is possible to achieve the provided <see cref="HitResult"/>.
@ -137,6 +137,6 @@ namespace osu.Game.Rulesets.Objects
/// </summary>
/// <param name="timeOffset">The time offset.</param>
/// <returns>Whether the <see cref="HitObject"/> can be hit at any point in the future from this time offset.</returns>
public bool CanBeHit(double timeOffset) => timeOffset <= HalfWindowFor(SuccessfulHitResult);
public bool CanBeHit(double timeOffset) => timeOffset <= HalfWindowFor(LowestSuccessfulHitResult);
}
}