1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-06 13:47:21 +08:00
osu-lazer/osu.Game/Screens/Play/FailOverlay.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
740 B
C#
Raw Normal View History

// 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.
2018-04-13 18:19:50 +09:00
2022-06-17 16:37:17 +09:00
#nullable disable
2017-04-01 21:29:17 +03:00
using osu.Game.Graphics;
2018-11-20 16:51:59 +09:00
using osuTK.Graphics;
2017-04-05 22:51:43 +03:00
using osu.Framework.Allocation;
2018-04-13 18:19:50 +09:00
namespace osu.Game.Screens.Play
{
public class FailOverlay : GameplayMenuOverlay
{
2017-04-05 22:36:03 +03:00
public override string Header => "failed";
public override string Description => "you're dead, try again?";
2018-04-13 18:19:50 +09:00
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
AddButton("Retry", colours.YellowDark, () => OnRetry?.Invoke());
AddButton("Quit", new Color4(170, 27, 39, 255), () => OnQuit?.Invoke());
}
}
}