mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Revert back to bool for application
This commit is contained in:
@ -17,10 +17,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
/// <summary>
|
||||
/// Apply a judgement result.
|
||||
/// </summary>
|
||||
/// <param name="result">Whether to apply a <see cref="HitResult.Great"/> result, <see cref="HitResult.Miss"/> otherwise.</param>
|
||||
internal void TriggerResult(HitResult result)
|
||||
{
|
||||
ApplyResult(r => r.Type = result);
|
||||
}
|
||||
/// <param name="hit">Whether this tick was reached.</param>
|
||||
internal void TriggerResult(bool hit) => ApplyResult(r => r.Type = hit ? r.Judgement.MaxResult : HitResult.Miss);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user