mirror of
https://github.com/ppy/osu
synced 2024-12-16 03:45:46 +00:00
27 lines
817 B
C#
27 lines
817 B
C#
// 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.
|
|
|
|
#nullable disable
|
|
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Beatmaps;
|
|
using osu.Game.Rulesets.Edit;
|
|
using osu.Game.Rulesets.Edit.Tools;
|
|
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners;
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit
|
|
{
|
|
public class SpinnerCompositionTool : HitObjectCompositionTool
|
|
{
|
|
public SpinnerCompositionTool()
|
|
: base(nameof(Spinner))
|
|
{
|
|
}
|
|
|
|
public override Drawable CreateIcon() => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Spinners);
|
|
|
|
public override PlacementBlueprint CreatePlacementBlueprint() => new SpinnerPlacementBlueprint();
|
|
}
|
|
}
|