2019-01-24 08:43:03 +00:00
|
|
|
// 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-10-04 04:44:49 +00:00
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2020-09-09 09:35:25 +00:00
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Game.Beatmaps;
|
2018-10-04 04:44:49 +00:00
|
|
|
using osu.Game.Rulesets.Edit;
|
|
|
|
using osu.Game.Rulesets.Edit.Tools;
|
2018-11-07 07:08:56 +00:00
|
|
|
using osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders;
|
2018-10-04 04:44:49 +00:00
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit
|
|
|
|
{
|
|
|
|
public class SliderCompositionTool : HitObjectCompositionTool
|
|
|
|
{
|
|
|
|
public SliderCompositionTool()
|
|
|
|
: base(nameof(Slider))
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2020-09-09 09:35:25 +00:00
|
|
|
public override Drawable CreateIcon() => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Sliders);
|
|
|
|
|
2018-11-06 09:06:34 +00:00
|
|
|
public override PlacementBlueprint CreatePlacementBlueprint() => new SliderPlacementBlueprint();
|
2018-10-04 04:44:49 +00:00
|
|
|
}
|
|
|
|
}
|