2017-02-07 12:59:30 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-04-02 02:29:17 +08:00
|
|
|
|
using osu.Game.Graphics;
|
|
|
|
|
using OpenTK.Graphics;
|
2017-04-06 03:51:43 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
2017-01-27 17:24:49 +08:00
|
|
|
|
|
2017-03-03 09:17:39 +08:00
|
|
|
|
namespace osu.Game.Screens.Play
|
2017-02-02 16:33:39 +08:00
|
|
|
|
{
|
2017-04-06 14:34:52 +08:00
|
|
|
|
public class FailOverlay : MenuOverlay
|
2017-02-02 16:33:39 +08:00
|
|
|
|
{
|
2017-04-06 03:36:03 +08:00
|
|
|
|
|
|
|
|
|
public override string Header => "failed";
|
|
|
|
|
public override string Description => "you're dead, try again?";
|
2017-04-02 02:29:17 +08:00
|
|
|
|
|
2017-04-06 03:51:43 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuColour colours)
|
2017-04-02 02:29:17 +08:00
|
|
|
|
{
|
2017-04-06 14:31:21 +08:00
|
|
|
|
AddButton("Retry", colours.YellowDark, OnRetry);
|
|
|
|
|
AddButton("Quit", new Color4(170, 27, 39, 255), OnQuit);
|
2017-04-02 02:29:17 +08:00
|
|
|
|
}
|
2017-02-02 16:33:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|