osu/osu.Game.Tournament/TournamentGame.cs

26 lines
727 B
C#
Raw Normal View History

2019-03-04 04:24:19 +00: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-06 16:20:32 +00:00
using osu.Framework.Graphics;
using osu.Game.Graphics.Cursor;
namespace osu.Game.Tournament
{
2018-11-06 09:32:59 +00:00
public class TournamentGame : TournamentGameBase
{
protected override void LoadComplete()
{
base.LoadComplete();
2018-11-06 16:20:32 +00:00
Add(new OsuContextMenuContainer
{
RelativeSizeAxes = Axes.Both,
2019-06-14 08:17:47 +00:00
Child = new TournamentSceneManager()
2018-11-06 16:20:32 +00:00
});
// we don't want to show the menu cursor as it would appear on stream output.
MenuCursorContainer.Cursor.Alpha = 0;
}
}
}