2017-03-14 12:02:42 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-03-13 18:15:25 +08:00
|
|
|
|
using System.Collections.Generic;
|
2017-03-14 17:06:32 +08:00
|
|
|
|
using osu.Game.Modes.Objects.Types;
|
2017-03-13 18:15:25 +08:00
|
|
|
|
using OpenTK;
|
|
|
|
|
|
2017-03-14 17:06:32 +08:00
|
|
|
|
namespace osu.Game.Modes.Objects.Legacy
|
2017-03-13 18:15:25 +08:00
|
|
|
|
{
|
2017-03-14 17:06:32 +08:00
|
|
|
|
/// <summary>
|
2017-03-14 17:46:34 +08:00
|
|
|
|
/// Legacy Slider-type, used for parsing Beatmaps.
|
2017-03-14 17:06:32 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed class LegacySlider : HitObject, IHasCurve, IHasPosition, IHasDistance, IHasRepeats, IHasCombo
|
2017-03-13 18:15:25 +08:00
|
|
|
|
{
|
|
|
|
|
public List<Vector2> ControlPoints { get; set; }
|
|
|
|
|
public CurveType CurveType { get; set; }
|
|
|
|
|
|
|
|
|
|
public Vector2 Position { get; set; }
|
|
|
|
|
|
2017-03-14 13:48:32 +08:00
|
|
|
|
public double Distance { get; set; }
|
2017-03-13 18:15:25 +08:00
|
|
|
|
|
|
|
|
|
public int RepeatCount { get; set; }
|
2017-03-14 16:01:21 +08:00
|
|
|
|
|
|
|
|
|
public bool NewCombo { get; set; }
|
2017-03-13 18:15:25 +08:00
|
|
|
|
}
|
|
|
|
|
}
|