// 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 osu.Game.Beatmaps; using osu.Game.Rulesets; namespace osu.Game.Screens { /// /// Denotes a screen which can handle beatmap / ruleset selection via local logic. /// This is used in the flow to handle cases which require custom logic, /// for instance, if a lease is held on the Beatmap. /// public interface IHandlePresentBeatmap { /// /// Invoked with a requested beatmap / ruleset for selection. /// /// The beatmap to be selected. /// The ruleset to be selected. void PresentBeatmap(WorkingBeatmap beatmap, RulesetInfo ruleset); } }