mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Allow intro screens to be created without loading a MainMenu
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
// 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 System;
|
||||
using JetBrains.Annotations;
|
||||
using osuTK;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Audio;
|
||||
@ -32,6 +34,11 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
private BackgroundScreenDefault background;
|
||||
|
||||
public IntroWelcome([CanBeNull] Func<MainMenu> createNextScreen = null)
|
||||
: base(createNextScreen)
|
||||
{
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(AudioManager audio)
|
||||
{
|
||||
|
Reference in New Issue
Block a user