2019-08-30 14:10:11 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2019-06-23 00:14:29 +08:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Rulesets.Catch.UI;
|
2020-02-17 13:40:07 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
2020-04-22 10:04:07 +08:00
|
|
|
|
using osu.Framework.Graphics.Containers;
|
2019-06-23 00:14:29 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch.Tests
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
2020-04-07 14:38:29 +08:00
|
|
|
|
public class TestSceneCatcher : CatchSkinnableTestScene
|
2019-06-23 00:14:29 +08:00
|
|
|
|
{
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load()
|
|
|
|
|
{
|
2020-04-22 10:04:07 +08:00
|
|
|
|
SetContents(() => new Catcher(new Container())
|
2019-06-23 00:14:29 +08:00
|
|
|
|
{
|
2020-02-17 13:40:07 +08:00
|
|
|
|
RelativePositionAxes = Axes.None,
|
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
|
Origin = Anchor.Centre,
|
2019-06-23 00:14:29 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|