// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Osu.Objects; namespace osu.Game.Rulesets.Osu.Edit.Blueprints { /// /// A piece of a selection or placement blueprint which visualises an . /// /// The type of which this visualises. public abstract class BlueprintPiece : CompositeDrawable where T : OsuHitObject { /// /// Updates this using the properties of a . /// /// The to reference properties from. public virtual void UpdateFrom(T hitObject) { Position = hitObject.StackedPosition; } } }