mirror of
https://github.com/osukey/osukey.git
synced 2025-05-02 12:17:27 +09:00
29 lines
852 B
C#
29 lines
852 B
C#
// 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 osu.Framework.Allocation;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Screens;
|
|
using osu.Game.Graphics.Containers;
|
|
using osu.Game.Screens.Multi.Lounge;
|
|
|
|
namespace osu.Game.Screens
|
|
{
|
|
public class OsuScreenStack : ScreenStack
|
|
{
|
|
[Cached]
|
|
private BackgroundScreenStack backgroundScreenStack;
|
|
|
|
public OsuScreenStack(IScreen baseScreen)
|
|
: base(baseScreen)
|
|
{
|
|
backgroundScreenStack = new BackgroundScreenStack { RelativeSizeAxes = Axes.Both };
|
|
InternalChild = new ParallaxContainer
|
|
{
|
|
RelativeSizeAxes = Axes.Both,
|
|
Child = backgroundScreenStack,
|
|
};
|
|
}
|
|
}
|
|
}
|