// 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.Configuration; using osu.Framework.Screens; using osu.Game.Beatmaps; using osu.Game.Overlays; using osu.Game.Rulesets; namespace osu.Game.Screens { public interface IOsuScreen : IScreen { /// /// Whether the beatmap or ruleset should be allowed to be changed by the user or game. /// Used to mark exclusive areas where this is strongly prohibited, like gameplay. /// bool DisallowExternalBeatmapRulesetChanges { get; } /// /// Whether a top-level component should be allowed to exit the current screen to, for example, /// complete an import. /// bool AllowExternalScreenChange { get; } /// /// Whether this allows the cursor to be displayed. /// bool CursorVisible { get; } /// /// Whether all overlays should be hidden when this screen is entered or resumed. /// bool HideOverlaysOnEnter { get; } /// /// Whether overlays should be able to be opened once this screen is entered or resumed. /// OverlayActivation InitialOverlayActivationMode { get; } /// /// The amount of parallax to be applied while this screen is displayed. /// float BackgroundParallaxAmount { get; } Bindable Beatmap { get; } Bindable Ruleset { get; } } }