Added current work on pause overlay

This commit is contained in:
DrabWeb
2017-01-27 05:24:49 -04:00
parent f3e9da609e
commit fe265c01cb
4 changed files with 232 additions and 3 deletions

View 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();
}
}
}