mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
20 lines
519 B
C#
20 lines
519 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using OpenTK;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Objects
|
|
{
|
|
public class SliderCircle : HitCircle
|
|
{
|
|
private readonly Slider slider;
|
|
|
|
public SliderCircle(Slider slider)
|
|
{
|
|
this.slider = slider;
|
|
}
|
|
|
|
public override void OffsetPosition(Vector2 offset) => slider.OffsetPosition(offset);
|
|
}
|
|
}
|