mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Added current work on pause overlay
This commit is contained in:
28
osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs
Normal file
28
osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using osu.Framework.GameModes.Testing;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using OpenTK.Input;
|
||||
using osu.Game.Overlays.Pause;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
|
||||
namespace osu.Desktop.VisualTests.Tests
|
||||
{
|
||||
class TestCasePauseOverlay : TestCase
|
||||
{
|
||||
public override string Name => @"PauseOverlay";
|
||||
|
||||
public override string Description => @"Tests the pause overlay";
|
||||
|
||||
private PauseOverlay pauseOverlay;
|
||||
|
||||
public override void Reset()
|
||||
{
|
||||
base.Reset();
|
||||
|
||||
Children = new[] { pauseOverlay = new PauseOverlay() };
|
||||
pauseOverlay.ToggleVisibility();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user