// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Types; using System; using System.Collections.Generic; using OpenTK; using osu.Game.Audio; namespace osu.Game.Rulesets.Objects.Legacy { internal class LegacySlider : HitObject, IHasCurve { public SliderCurve Curve { get; set; } = new SliderCurve(); public List ControlPoints { get { return Curve.ControlPoints; } set { Curve.ControlPoints = value; } } public CurveType CurveType { get { return Curve.CurveType; } set { Curve.CurveType = value; } } public double Distance { get { return Curve.Distance; } set { Curve.Distance = value; } } public List> RepeatSamples { get; set; } = new List>(); public int RepeatCount { get; set; } = 1; public double EndTime { get; set; } public double Duration { get; set; } public Vector2 PositionAt(double progress) { throw new NotImplementedException(); } public double ProgressAt(double progress) { throw new NotImplementedException(); } public int RepeatAt(double progress) { throw new NotImplementedException(); } } }