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
1 changed files with 10 additions and 1 deletions

View File

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