1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-16 10:17:36 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Skinning/Default/ManualSliderBody.cs

23 lines
666 B
C#
Raw Normal View History

// 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.
using System.Collections.Generic;
using osu.Framework.Graphics;
2018-11-20 15:51:59 +08:00
using osuTK;
2020-12-04 19:21:53 +08:00
namespace osu.Game.Rulesets.Osu.Skinning.Default
{
/// <summary>
/// A <see cref="SliderBody"/> with the ability to set the drawn vertices manually.
/// </summary>
2022-11-24 13:32:20 +08:00
public partial class ManualSliderBody : SliderBody
{
2024-05-23 22:45:04 +08:00
public ManualSliderBody()
{
AutoSizeAxes = Axes.Both;
}
2024-05-23 22:45:04 +08:00
public new void SetVertices(IReadOnlyList<Vector2> vertices) => base.SetVertices(vertices);
}
}