mirror of https://github.com/ppy/osu
Add background video for showcase scene (Tournament Client)
This commit is contained in:
parent
97dcd546f1
commit
085b6ae25f
|
@ -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,
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue