mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 18:52:56 +08: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);
|
|
}
|
|
}
|