1
0
mirror of https://github.com/ppy/osu.git synced 2024-10-30 09:17:26 +08:00

Add background video for showcase scene (Tournament Client)

This commit is contained in:
Shivam 2020-04-23 20:24:03 +02:00
parent 97dcd546f1
commit 085b6ae25f

View File

@ -2,6 +2,8 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Tournament.Components;
namespace osu.Game.Tournament.Screens.Showcase namespace osu.Game.Tournament.Screens.Showcase
{ {
@ -10,7 +12,14 @@ namespace osu.Game.Tournament.Screens.Showcase
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
AddInternal(new TournamentLogo()); AddRangeInternal(new Drawable[] {
new TournamentLogo(),
new TourneyVideo("showcase")
{
Loop = true,
RelativeSizeAxes = Axes.Both,
}
});
} }
} }
} }