1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-06 21:57:19 +08:00
osu-lazer/osu.Game.Tournament.Tests/Screens/TestSceneGameplayScreen.cs

38 lines
1.1 KiB
C#
Raw Normal View History

2019-03-04 13:24:19 +09: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 19:23:03 +09:00
using System;
using System.Collections.Generic;
2018-11-06 19:23:03 +09:00
using osu.Framework.Allocation;
2019-06-14 16:57:29 +09:00
using osu.Game.Tournament.Components;
2020-03-08 17:43:55 +09:00
using osu.Game.Tournament.Screens;
2018-11-06 19:23:03 +09:00
using osu.Game.Tournament.Screens.Gameplay;
using osu.Game.Tournament.Screens.Gameplay.Components;
2018-11-06 19:23:03 +09:00
2019-06-18 15:28:36 +09:00
namespace osu.Game.Tournament.Tests.Screens
2018-11-06 19:23:03 +09:00
{
2019-07-30 07:23:25 +09:00
public class TestSceneGameplayScreen : TournamentTestScene
2018-11-06 19:23:03 +09:00
{
2019-06-14 16:57:29 +09:00
[Cached]
2020-03-08 17:43:55 +09:00
private TournamentMatchChatDisplay chat = new TournamentMatchChatDisplay { Width = 0.5f };
2018-11-06 19:23:03 +09:00
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(TeamScore),
typeof(TeamScoreDisplay),
typeof(TeamDisplay),
typeof(MatchHeader),
2020-03-07 16:22:52 +09:00
typeof(MatchScoreDisplay),
2020-03-08 17:43:55 +09:00
typeof(BeatmapInfoScreen),
typeof(SongBar),
};
2018-11-06 19:23:03 +09:00
[BackgroundDependencyLoader]
private void load()
{
Add(new GameplayScreen());
2019-06-14 16:57:29 +09:00
Add(chat);
2018-11-06 19:23:03 +09:00
}
}
}