2019-03-04 12:24:19 +08:00
|
|
|
// 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.
|
2018-11-11 00:39:02 +08:00
|
|
|
|
2018-11-16 19:30:12 +08:00
|
|
|
using osu.Framework.Allocation;
|
2018-11-11 00:39:02 +08:00
|
|
|
using osu.Framework.Graphics;
|
2019-02-17 17:20:03 +08:00
|
|
|
using osu.Framework.Graphics.Containers;
|
2019-06-18 13:51:48 +08:00
|
|
|
using osu.Game.Tournament.Models;
|
2018-11-11 00:39:02 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Tournament.Screens
|
|
|
|
{
|
2019-06-18 13:51:48 +08:00
|
|
|
public abstract class TournamentScreen : CompositeDrawable
|
2018-11-11 00:39:02 +08:00
|
|
|
{
|
2018-11-16 19:30:12 +08:00
|
|
|
[Resolved]
|
|
|
|
protected LadderInfo LadderInfo { get; private set; }
|
|
|
|
|
2019-06-18 13:51:48 +08:00
|
|
|
protected TournamentScreen()
|
2019-02-17 17:20:03 +08:00
|
|
|
{
|
|
|
|
RelativeSizeAxes = Axes.Both;
|
|
|
|
}
|
|
|
|
|
2018-11-11 00:39:02 +08:00
|
|
|
public override void Hide()
|
|
|
|
{
|
|
|
|
this.FadeOut(200);
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void Show()
|
|
|
|
{
|
|
|
|
this.FadeIn(200);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|