osu/osu.Game.Tournament/Screens/SetupScreen.cs

25 lines
655 B
C#
Raw Normal View History

2019-09-21 17:10:04 +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.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Game.Tournament.IPC;
2019-09-21 17:10:04 +00:00
namespace osu.Game.Tournament.Screens
{
public class SetupScreen : TournamentScreen
{
[Resolved]
private MatchIPCInfo ipc { get; set; }
[BackgroundDependencyLoader]
private void load()
{
AddInternal(new SpriteText
{
Text = (ipc as FileBasedIPC)?.Storage.GetFullPath(string.Empty)
});
}
2019-09-21 17:10:04 +00:00
}
}