osu/osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderCircleSelectionBlueprint.cs

24 lines
903 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.
2018-04-13 09:19:50 +00:00
2018-11-07 07:08:56 +00:00
using osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components;
2018-04-13 09:19:50 +00:00
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Drawables;
2018-11-07 07:08:56 +00:00
namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
2018-04-13 09:19:50 +00:00
{
public class SliderCircleSelectionBlueprint : OsuSelectionBlueprint
2018-04-13 09:19:50 +00:00
{
2018-11-06 08:56:04 +00:00
public SliderCircleSelectionBlueprint(DrawableOsuHitObject hitObject, Slider slider, SliderPosition position)
2018-04-13 09:19:50 +00:00
: base(hitObject)
{
2018-10-26 04:51:03 +00:00
InternalChild = new SliderCirclePiece(slider, position);
2018-04-13 09:19:50 +00:00
Select();
}
// Todo: This is temporary, since the slider circle masks don't do anything special yet. In the future they will handle input.
public override bool HandlePositionalInput => false;
2018-04-13 09:19:50 +00:00
}
}