mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 10:57:27 +08:00
29 lines
773 B
C#
29 lines
773 B
C#
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||
|
|
||
|
using osu.Framework.Testing;
|
||
|
using osu.Game.Overlays;
|
||
|
using osu.Game.Users;
|
||
|
|
||
|
namespace osu.Desktop.VisualTests.Tests
|
||
|
{
|
||
|
internal class TestCaseMedalOverlay : TestCase
|
||
|
{
|
||
|
public override string Description => @"medal get!";
|
||
|
|
||
|
public override void Reset()
|
||
|
{
|
||
|
base.Reset();
|
||
|
|
||
|
MedalOverlay overlay;
|
||
|
Add(overlay = new MedalOverlay(new Medal
|
||
|
{
|
||
|
Name = @"Animations",
|
||
|
Description = @"More complex than you think.",
|
||
|
}));
|
||
|
|
||
|
AddStep(@"show", overlay.Show);
|
||
|
}
|
||
|
}
|
||
|
}
|