2023-06-23 00:37:25 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2019-01-24 16:43:03 +08:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-10-29 17:35:46 +08:00
|
|
|
|
|
2020-09-09 17:35:25 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Beatmaps;
|
2018-10-29 17:35:46 +08:00
|
|
|
|
using osu.Game.Rulesets.Edit;
|
|
|
|
|
using osu.Game.Rulesets.Edit.Tools;
|
2018-11-07 15:08:56 +08:00
|
|
|
|
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners;
|
2018-10-29 17:35:46 +08:00
|
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit
|
|
|
|
|
{
|
2024-09-23 22:33:36 +08:00
|
|
|
|
public class SpinnerCompositionTool : CompositionTool
|
2018-10-29 17:35:46 +08:00
|
|
|
|
{
|
|
|
|
|
public SpinnerCompositionTool()
|
|
|
|
|
: base(nameof(Spinner))
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-09 17:35:25 +08:00
|
|
|
|
public override Drawable CreateIcon() => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Spinners);
|
|
|
|
|
|
2024-09-23 22:33:36 +08:00
|
|
|
|
public override HitObjectPlacementBlueprint CreatePlacementBlueprint() => new SpinnerPlacementBlueprint();
|
2018-10-29 17:35:46 +08:00
|
|
|
|
}
|
|
|
|
|
}
|