osu/osu.Game/Rulesets/Objects/Legacy/Osu/Slider.cs

23 lines
634 B
C#
Raw Normal View History

2017-03-14 04:02:42 +00: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-04-18 07:05:58 +00:00
using osu.Game.Rulesets.Objects.Types;
using OpenTK;
2017-04-18 07:05:58 +00:00
namespace osu.Game.Rulesets.Objects.Legacy.Osu
{
/// <summary>
2017-04-18 00:13:36 +00:00
/// Legacy osu! Slider-type, used for parsing Beatmaps.
/// </summary>
internal sealed class Slider : CurvedHitObject, IHasPosition, IHasCombo
{
public Vector2 Position { get; set; }
public float X => Position.X;
public float Y => Position.Y;
public bool NewCombo { get; set; }
}
}