Pass sub-controlpoints as span slices

This commit is contained in:
smoogipoo
2018-10-11 17:44:25 +09:00
parent 0c4403ef16
commit 83fd251c7b
18 changed files with 93 additions and 73 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
/// <see cref="ConvertSlider"/>s don't need a curve since they're converted to ruleset-specific hitobjects.
/// </summary>
public SliderCurve Curve { get; } = null;
public List<Vector2> ControlPoints { get; set; }
public Vector2[] ControlPoints { get; set; }
public CurveType CurveType { get; set; }
public double Distance { get; set; }