2019-01-24 16:43:03 +08:00
|
|
|
// 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-11-07 15:21:32 +08:00
|
|
|
|
|
|
|
using osu.Game.Rulesets.Edit;
|
|
|
|
using osu.Game.Rulesets.Objects.Drawables;
|
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit.Blueprints
|
|
|
|
{
|
2020-01-20 23:53:59 +08:00
|
|
|
public abstract class OsuSelectionBlueprint<T> : OverlaySelectionBlueprint
|
2019-09-27 17:45:22 +08:00
|
|
|
where T : OsuHitObject
|
2018-11-07 15:21:32 +08:00
|
|
|
{
|
2021-04-27 14:40:35 +08:00
|
|
|
protected T HitObject => (T)DrawableObject.HitObject;
|
2018-11-07 15:21:32 +08:00
|
|
|
|
2020-05-27 12:40:16 +08:00
|
|
|
protected override bool AlwaysShowWhenSelected => true;
|
|
|
|
|
2019-10-21 16:04:56 +08:00
|
|
|
protected OsuSelectionBlueprint(DrawableHitObject drawableObject)
|
|
|
|
: base(drawableObject)
|
2018-11-07 15:21:32 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|