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