Add "distance spacing" multiplier for osu! ruleset

While osu!catch also implements a distance snap grid, it doesn't rely on
`GetBeatSnapDistanceAt` (unlike osu!), therefore it can't have the
"distance spacing" multiplier yet.
This commit is contained in:
Salman Ahmed
2022-01-17 20:09:02 +03:00
parent db74a226c0
commit 19ee05c232
6 changed files with 116 additions and 2 deletions

View File

@ -26,6 +26,8 @@ namespace osu.Game.Rulesets.Osu.Edit
{
public class OsuHitObjectComposer : HitObjectComposer<OsuHitObject>
{
protected override bool SupportsDistanceSpacing => true;
public OsuHitObjectComposer(Ruleset ruleset)
: base(ruleset)
{