mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
MenuOverlay -> GameplayMenuOverlay
This commit is contained in:
@ -10,7 +10,7 @@ using System.Linq;
|
||||
|
||||
namespace osu.Game.Screens.Play
|
||||
{
|
||||
public class FailOverlay : MenuOverlay
|
||||
public class FailOverlay : GameplayMenuOverlay
|
||||
{
|
||||
public override string Header => "failed";
|
||||
public override string Description => "you're dead, try again?";
|
||||
|
@ -17,7 +17,7 @@ using OpenTK.Input;
|
||||
|
||||
namespace osu.Game.Screens.Play
|
||||
{
|
||||
public abstract class MenuOverlay : OverlayContainer, IRequireHighFrequencyMousePosition
|
||||
public abstract class GameplayMenuOverlay : OverlayContainer, IRequireHighFrequencyMousePosition
|
||||
{
|
||||
private const int transition_duration = 200;
|
||||
private const int button_height = 70;
|
||||
@ -35,7 +35,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
private FillFlowContainer retryCounterContainer;
|
||||
|
||||
protected MenuOverlay()
|
||||
protected GameplayMenuOverlay()
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
|
||||
@ -175,7 +175,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
protected void AddButton(string text, Color4 colour, Action action)
|
||||
{
|
||||
var button = new MenuOverlayButton
|
||||
var button = new Button
|
||||
{
|
||||
Text = text,
|
||||
ButtonColour = colour,
|
||||
@ -247,7 +247,7 @@ namespace osu.Game.Screens.Play
|
||||
selectionIndex = Buttons.IndexOf(button);
|
||||
}
|
||||
|
||||
private class MenuOverlayButton : DialogButton
|
||||
private class Button : DialogButton
|
||||
{
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
@ -119,7 +119,7 @@ namespace osu.Game.Screens.Play
|
||||
base.Update();
|
||||
}
|
||||
|
||||
public class PauseOverlay : MenuOverlay
|
||||
public class PauseOverlay : GameplayMenuOverlay
|
||||
{
|
||||
public Action OnResume;
|
||||
|
||||
|
@ -719,7 +719,7 @@
|
||||
<Compile Include="Screens\Play\KeyCounterCollection.cs" />
|
||||
<Compile Include="Screens\Play\KeyCounterKeyboard.cs" />
|
||||
<Compile Include="Screens\Play\KeyCounterMouse.cs" />
|
||||
<Compile Include="Screens\Play\MenuOverlay.cs" />
|
||||
<Compile Include="Screens\Play\GameplayMenuOverlay.cs" />
|
||||
<Compile Include="Screens\Play\PauseContainer.cs" />
|
||||
<Compile Include="Screens\Play\Player.cs" />
|
||||
<Compile Include="Screens\Play\PlayerLoader.cs" />
|
||||
|
Reference in New Issue
Block a user