mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Apply suggestions
This commit is contained in:
@ -344,11 +344,8 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
|
|
||||||
if (validCatch)
|
if (validCatch)
|
||||||
updateState(fruit.Kiai ? CatcherAnimationState.Kiai : CatcherAnimationState.Idle);
|
updateState(fruit.Kiai ? CatcherAnimationState.Kiai : CatcherAnimationState.Idle);
|
||||||
else
|
else if (!(fruit is Banana))
|
||||||
{
|
updateState(CatcherAnimationState.Fail);
|
||||||
if (!(fruit is Banana))
|
|
||||||
updateState(CatcherAnimationState.Fail);
|
|
||||||
}
|
|
||||||
|
|
||||||
return validCatch;
|
return validCatch;
|
||||||
}
|
}
|
||||||
@ -362,7 +359,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
updateCatcher();
|
updateCatcher();
|
||||||
}
|
}
|
||||||
|
|
||||||
public CatcherAnimationState CurrentState;
|
public CatcherAnimationState CurrentState { get; private set; }
|
||||||
|
|
||||||
private double hyperDashModifier = 1;
|
private double hyperDashModifier = 1;
|
||||||
private int hyperDashDirection;
|
private int hyperDashDirection;
|
||||||
|
Reference in New Issue
Block a user