mirror of
https://github.com/ppy/osu
synced 2025-02-08 14:17:29 +00:00
56 lines
1.5 KiB
C#
56 lines
1.5 KiB
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// 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<Vector2> 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<List<SampleInfo>> RepeatSamples { get; set; } = new List<List<SampleInfo>>();
|
|
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();
|
|
}
|
|
}
|
|
}
|