osu/osu.Game.Tournament/TournamentGame.cs

27 lines
751 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.Graphics;
using osu.Framework.Screens;
using osu.Game.Graphics.Cursor;
using osu.Game.Tournament.Screens;
namespace osu.Game.Tournament
{
public class TournamentGame : TournamentGameBase
{
protected override void LoadComplete()
{
base.LoadComplete();
Add(new OsuContextMenuContainer
{
RelativeSizeAxes = Axes.Both,
Child = new ScreenStack(new TournamentSceneManager()) { RelativeSizeAxes = Axes.Both }
});
MenuCursorContainer.Cursor.Alpha = 0;
}
}
}