1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-10 01:33:39 +08:00
Files
osu-lazer/osu.Game/Screens/OnlinePlay/Matchmaking/Match/MatchmakingSubScreen.cs
T
Dean Herbert e1ba1b45b0 Adjust matchmaking naming, namespaces, xmldoc (#35123)
* Adjust matchmaking naming, namespaces, xmldoc

* Change partial filenames to use `.` instead of `_` separator
2025-09-26 12:17:28 +09:00

47 lines
1.2 KiB
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Screens;
namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match
{
public abstract partial class MatchmakingSubScreen : Screen
{
public abstract PanelDisplayStyle PlayersDisplayStyle { get; }
public abstract Drawable? PlayersDisplayArea { get; }
protected MatchmakingSubScreen()
{
RelativePositionAxes = Axes.X;
}
public override void OnEntering(ScreenTransitionEvent e)
{
base.OnEntering(e);
this.FadeInFromZero(200);
}
public override void OnSuspending(ScreenTransitionEvent e)
{
base.OnSuspending(e);
this.FadeOutFromOne(200);
}
public override void OnResuming(ScreenTransitionEvent e)
{
base.OnResuming(e);
this.FadeInFromZero(200);
}
public override bool OnExiting(ScreenExitEvent e)
{
if (base.OnExiting(e))
return true;
this.FadeOutFromOne(200);
return false;
}
}
}