mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 22:57:31 +09:00
Remove unnecessary cast by changing method siganture
This commit is contained in:
parent
5551343cf3
commit
8f5d3896f6
@ -221,9 +221,9 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
/// Add a caught fruit to the catcher's stack.
|
/// Add a caught fruit to the catcher's stack.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="fruit">The fruit that was caught.</param>
|
/// <param name="fruit">The fruit that was caught.</param>
|
||||||
public void PlaceOnPlate(DrawableHitObject fruit)
|
public void PlaceOnPlate(DrawableCatchHitObject fruit)
|
||||||
{
|
{
|
||||||
float ourRadius = ((DrawableCatchHitObject)fruit).DisplayRadius;
|
float ourRadius = fruit.DisplayRadius;
|
||||||
float theirRadius = 0;
|
float theirRadius = 0;
|
||||||
|
|
||||||
const float allowance = 6;
|
const float allowance = 6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user