mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 19:27:26 +08:00
23 lines
692 B
C#
23 lines
692 B
C#
// 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.
|
|
|
|
using osu.Game.Rulesets.Edit;
|
|
using osu.Game.Rulesets.Objects.Drawables;
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit.Blueprints
|
|
{
|
|
public abstract class OsuSelectionBlueprint<T> : OverlaySelectionBlueprint
|
|
where T : OsuHitObject
|
|
{
|
|
protected T HitObject => (T)DrawableObject.HitObject;
|
|
|
|
protected override bool AlwaysShowWhenSelected => true;
|
|
|
|
protected OsuSelectionBlueprint(DrawableHitObject drawableObject)
|
|
: base(drawableObject)
|
|
{
|
|
}
|
|
}
|
|
}
|