mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
Minor refactors
This commit is contained in:
parent
b01233eddc
commit
20dae5ee11
@ -55,7 +55,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
|
|
||||||
private void Fruit_OnJudgement(DrawableHitObject judgedObject, Judgement judgement)
|
private void Fruit_OnJudgement(DrawableHitObject judgedObject, Judgement judgement)
|
||||||
{
|
{
|
||||||
if (judgement.Result > HitResult.Miss)
|
if (judgement.IsHit)
|
||||||
{
|
{
|
||||||
Vector2 screenPosition = judgedObject.ScreenSpaceDrawQuad.Centre;
|
Vector2 screenPosition = judgedObject.ScreenSpaceDrawQuad.Centre;
|
||||||
Remove(judgedObject);
|
Remove(judgedObject);
|
||||||
|
@ -21,6 +21,7 @@ namespace osu.Game.Rulesets.Judgements
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The offset at which this judgement occurred.
|
/// The offset at which this judgement occurred.
|
||||||
|
/// Populated when added via <see cref="DrawableHitObject{TObject}.AddJudgement"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double TimeOffset { get; internal set; }
|
public double TimeOffset { get; internal set; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user