// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using JetBrains.Annotations; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Drawables; namespace osu.Game.Rulesets.UI { internal interface IPooledHitObjectProvider { /// /// Attempts to retrieve the poolable representation of a . /// /// The to retrieve the representation of. /// The parenting , if any. /// The representing , or null if no poolable representation exists. [CanBeNull] DrawableHitObject GetPooledDrawableRepresentation([NotNull] HitObject hitObject, [CanBeNull] DrawableHitObject parent); } }