mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:22:56 +08:00
Rename {Multiplayer -> OnlinePlay}SubScreen
This commit is contained in:
parent
eb0f125fef
commit
e5064ee930
@ -19,7 +19,7 @@ using osu.Game.Users;
|
||||
namespace osu.Game.Screens.OnlinePlay.Lounge
|
||||
{
|
||||
[Cached]
|
||||
public abstract class LoungeSubScreen : MultiplayerSubScreen
|
||||
public abstract class LoungeSubScreen : OnlinePlaySubScreen
|
||||
{
|
||||
public override string Title => "Lounge";
|
||||
|
||||
|
@ -18,7 +18,7 @@ using osu.Game.Screens.Play;
|
||||
namespace osu.Game.Screens.OnlinePlay.Match
|
||||
{
|
||||
[Cached(typeof(IPreviewTrackOwner))]
|
||||
public abstract class RoomSubScreen : MultiplayerSubScreen, IPreviewTrackOwner
|
||||
public abstract class RoomSubScreen : OnlinePlaySubScreen, IPreviewTrackOwner
|
||||
{
|
||||
protected readonly Bindable<PlaylistItem> SelectedItem = new Bindable<PlaylistItem>();
|
||||
|
||||
|
@ -295,13 +295,13 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
switch (newScreen)
|
||||
{
|
||||
case LoungeSubScreen _:
|
||||
header.Delay(MultiplayerSubScreen.RESUME_TRANSITION_DELAY).ResizeHeightTo(400, MultiplayerSubScreen.APPEAR_DURATION, Easing.OutQuint);
|
||||
headerBackground.MoveToX(0, MultiplayerSubScreen.X_MOVE_DURATION, Easing.OutQuint);
|
||||
header.Delay(OnlinePlaySubScreen.RESUME_TRANSITION_DELAY).ResizeHeightTo(400, OnlinePlaySubScreen.APPEAR_DURATION, Easing.OutQuint);
|
||||
headerBackground.MoveToX(0, OnlinePlaySubScreen.X_MOVE_DURATION, Easing.OutQuint);
|
||||
break;
|
||||
|
||||
case RoomSubScreen _:
|
||||
header.ResizeHeightTo(135, MultiplayerSubScreen.APPEAR_DURATION, Easing.OutQuint);
|
||||
headerBackground.MoveToX(-MultiplayerSubScreen.X_SHIFT, MultiplayerSubScreen.X_MOVE_DURATION, Easing.OutQuint);
|
||||
header.ResizeHeightTo(135, OnlinePlaySubScreen.APPEAR_DURATION, Easing.OutQuint);
|
||||
headerBackground.MoveToX(-OnlinePlaySubScreen.X_SHIFT, OnlinePlaySubScreen.X_MOVE_DURATION, Easing.OutQuint);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@ using osu.Framework.Screens;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay
|
||||
{
|
||||
public abstract class MultiplayerSubScreen : OsuScreen, IMultiplayerSubScreen
|
||||
public abstract class OnlinePlaySubScreen : OsuScreen, IMultiplayerSubScreen
|
||||
{
|
||||
public override bool DisallowExternalBeatmapRulesetChanges => false;
|
||||
|
||||
@ -16,7 +16,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
[Resolved(CanBeNull = true)]
|
||||
protected IRoomManager RoomManager { get; private set; }
|
||||
|
||||
protected MultiplayerSubScreen()
|
||||
protected OnlinePlaySubScreen()
|
||||
{
|
||||
Anchor = Anchor.Centre;
|
||||
Origin = Anchor.Centre;
|
Loading…
Reference in New Issue
Block a user