mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Better inheritance
This commit is contained in:
@ -4,6 +4,8 @@
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Input;
|
||||
using OpenTK.Input;
|
||||
using osu.Game.Graphics;
|
||||
using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Game.Screens.Play
|
||||
{
|
||||
@ -20,5 +22,11 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
return base.OnKeyDown(state, args);
|
||||
}
|
||||
|
||||
protected override void AddButtons(OsuColour colours)
|
||||
{
|
||||
AddButton(@"Retry", colours.YellowDark, OnRetry);
|
||||
AddButton(@"Quit to Main Menu", new Color4(170, 27, 39, 255), OnQuit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user