// 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.Allocation; using osu.Game.Rulesets.Objects; namespace osu.Game.Screens.Edit.Compose { [Cached] public interface IPlacementHandler { /// /// Notifies that a placement blueprint became visible on the screen. /// /// The representing the placement. void ShowPlacement(HitObject hitObject); /// /// Notifies that a visible placement blueprint has been hidden. /// void HidePlacement(); /// /// Notifies that a placement has been committed. /// /// The that has been placed. void CommitPlacement(HitObject hitObject); /// /// Deletes a . /// /// The to delete. void Delete(HitObject hitObject); } }