mirror of
https://github.com/ppy/osu.git
synced 2024-12-18 05:52:56 +08:00
24 lines
565 B
C#
24 lines
565 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
namespace osu.Game.Rulesets.Edit.Tools
|
|
{
|
|
public class HitObjectCompositionTool<T> : ICompositionTool
|
|
where T : HitObject
|
|
{
|
|
public string Name { get; }
|
|
|
|
public HitObjectCompositionTool()
|
|
: this(typeof(T).Name)
|
|
{
|
|
}
|
|
|
|
public HitObjectCompositionTool(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
}
|
|
}
|