mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
20 lines
500 B
C#
20 lines
500 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);
|
|
}
|
|
}
|