mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 05:43:33 +08:00
32 lines
761 B
C#
32 lines
761 B
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.Allocation;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Game.Tournament.Models;
|
|
|
|
namespace osu.Game.Tournament.Screens
|
|
{
|
|
public abstract class TournamentScreen : CompositeDrawable
|
|
{
|
|
[Resolved]
|
|
protected LadderInfo LadderInfo { get; private set; }
|
|
|
|
protected TournamentScreen()
|
|
{
|
|
RelativeSizeAxes = Axes.Both;
|
|
}
|
|
|
|
public override void Hide()
|
|
{
|
|
this.FadeOut(200);
|
|
}
|
|
|
|
public override void Show()
|
|
{
|
|
this.FadeIn(200);
|
|
}
|
|
}
|
|
}
|