mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Adjust documents
*whoops*
This commit is contained in:
@ -150,14 +150,14 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Calculates the width of the area used for attempting catches in gameplay.
|
/// Calculates the width of the area used for attempting catches in gameplay.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="scale">The scale of the catcher.</param>
|
||||||
internal static float CalculateCatchWidth(Vector2 scale)
|
internal static float CalculateCatchWidth(Vector2 scale)
|
||||||
=> CatcherArea.CATCHER_SIZE * Math.Abs(scale.X) * allowed_catch_range;
|
=> CatcherArea.CATCHER_SIZE * Math.Abs(scale.X) * allowed_catch_range;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Calculates the width of the area used for attempting catches in gameplay.
|
/// Calculates the width of the area used for attempting catches in gameplay.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="difficulty"></param>
|
/// <param name="difficulty">The beatmap difficulty.</param>
|
||||||
/// <returns></returns>
|
|
||||||
internal static float CalculateCatchWidth(BeatmapDifficulty difficulty)
|
internal static float CalculateCatchWidth(BeatmapDifficulty difficulty)
|
||||||
=> CalculateCatchWidth(CalculateScale(difficulty));
|
=> CalculateCatchWidth(CalculateScale(difficulty));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user