mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Split slider samples into head + tail + repeats + body (the original HitObject.Samples).
This commit is contained in:
@ -22,7 +22,8 @@ namespace osu.Game.Rulesets.Objects.Legacy.Mania
|
||||
};
|
||||
}
|
||||
|
||||
protected override HitObject CreateSlider(Vector2 position, bool newCombo, List<Vector2> controlPoints, double length, CurveType curveType, int repeatCount, List<List<SampleInfo>> repeatSamples)
|
||||
protected override HitObject CreateSlider(Vector2 position, bool newCombo, List<Vector2> controlPoints, double length, CurveType curveType,
|
||||
int repeatCount, List<SampleInfo> headSamples, List<SampleInfo> tailSamples, List<List<SampleInfo>> repeatSamples)
|
||||
{
|
||||
return new Slider
|
||||
{
|
||||
@ -32,6 +33,8 @@ namespace osu.Game.Rulesets.Objects.Legacy.Mania
|
||||
Distance = length,
|
||||
CurveType = curveType,
|
||||
RepeatCount = repeatCount,
|
||||
HeadSamples = headSamples,
|
||||
TailSamples = tailSamples,
|
||||
RepeatSamples = repeatSamples
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user