1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Edit/SpinnerCompositionTool.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
817 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-10-29 17:35:46 +08:00
2022-06-17 15:37:17 +08:00
#nullable disable
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
{
public class SpinnerCompositionTool : HitObjectCompositionTool
{
public SpinnerCompositionTool()
: base(nameof(Spinner))
{
}
2020-09-09 17:35:25 +08:00
public override Drawable CreateIcon() => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Spinners);
2018-11-06 17:06:34 +08:00
public override PlacementBlueprint CreatePlacementBlueprint() => new SpinnerPlacementBlueprint();
2018-10-29 17:35:46 +08:00
}
}