1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-21 15:53:00 +08:00
osu-lazer/osu.Game/Rulesets/Edit/Tools/HitObjectCompositionTool.cs

24 lines
605 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 17:19:50 +08:00
2020-09-09 17:35:25 +08:00
using osu.Framework.Graphics;
2018-04-13 17:19:50 +08:00
namespace osu.Game.Rulesets.Edit.Tools
{
public abstract class HitObjectCompositionTool
2018-04-13 17:19:50 +08:00
{
public readonly string Name;
2018-05-20 18:22:42 +08:00
protected HitObjectCompositionTool(string name)
2018-05-20 18:22:42 +08:00
{
Name = name;
}
2018-11-06 17:06:34 +08:00
public abstract PlacementBlueprint CreatePlacementBlueprint();
2020-09-09 17:35:25 +08:00
public virtual Drawable CreateIcon() => null;
public override string ToString() => Name;
2018-04-13 17:19:50 +08:00
}
}