1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-06 21:17:18 +08:00

24 lines
778 B
C#
Raw Normal View History

// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2018-11-14 14:29:22 +09:00
using osu.Framework.Configuration;
using osu.Game.Rulesets.Judgements;
2018-11-14 14:29:22 +09:00
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Judgements;
namespace osu.Game.Rulesets.Osu.Objects
{
public class SliderTailCircle : SliderCircle
{
2018-11-14 14:29:22 +09:00
private readonly IBindable<SliderPath> pathBindable = new Bindable<SliderPath>();
public SliderTailCircle(Slider slider)
{
pathBindable.BindTo(slider.PathBindable);
pathBindable.BindValueChanged(_ => Position = slider.EndPosition);
}
2018-08-06 11:50:18 +09:00
public override Judgement CreateJudgement() => new OsuSliderTailJudgement();
}
}