2019-01-24 08:43:03 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-10-25 06:49:45 +00:00
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2018-11-20 07:51:59 +00:00
|
|
|
using osuTK;
|
2018-10-25 06:49:45 +00:00
|
|
|
|
2020-12-04 11:21:53 +00:00
|
|
|
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
2018-10-25 06:49:45 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A <see cref="SliderBody"/> with the ability to set the drawn vertices manually.
|
|
|
|
/// </summary>
|
|
|
|
public class ManualSliderBody : SliderBody
|
|
|
|
{
|
|
|
|
public new void SetVertices(IReadOnlyList<Vector2> vertices)
|
|
|
|
{
|
|
|
|
base.SetVertices(vertices);
|
|
|
|
Size = Path.Size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|