// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Objects; namespace osu.Game.Screens.Edit.Compose { public interface IPlacementHandler { /// /// Notifies that a placement has begun. /// /// The being placed. void BeginPlacement(HitObject hitObject); /// /// Notifies that a placement has finished. /// /// The that has been placed. /// Whether the object should be committed. void EndPlacement(HitObject hitObject, bool commit); /// /// Deletes a . /// /// The to delete. void Delete(HitObject hitObject); } }