mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 03:02:54 +08:00
InGameOverlay now is abstract
This commit is contained in:
parent
62655b70c9
commit
7b95f2d46a
@ -16,7 +16,7 @@ using osu.Framework.Allocation;
|
||||
|
||||
namespace osu.Game.Screens.Play
|
||||
{
|
||||
public class InGameOverlay : OverlayContainer
|
||||
public abstract class InGameOverlay : OverlayContainer
|
||||
{
|
||||
private const int transition_duration = 200;
|
||||
private const int button_height = 70;
|
||||
@ -82,7 +82,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
protected override bool OnMouseMove(InputState state) => true;
|
||||
|
||||
public void AddButton(string text, Color4 colour, Action action)
|
||||
protected void AddButton(string text, Color4 colour, Action action)
|
||||
{
|
||||
buttons.Add(new PauseButton
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user