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