2018-04-13 17:19:50 +08:00
|
|
|
// 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
|
|
|
|
{
|
2018-07-19 16:04:51 +08:00
|
|
|
public string Name { get; }
|
2018-05-20 18:22:42 +08:00
|
|
|
|
|
|
|
public HitObjectCompositionTool()
|
2018-07-19 16:04:51 +08:00
|
|
|
: this(typeof(T).Name)
|
2018-05-20 18:22:42 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public HitObjectCompositionTool(string name)
|
|
|
|
{
|
|
|
|
Name = name;
|
|
|
|
}
|
2018-04-13 17:19:50 +08:00
|
|
|
}
|
|
|
|
}
|