1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 15:17:27 +08:00
osu-lazer/osu.Game.Rulesets.Catch.Tests/TestSceneCatcher.cs

35 lines
953 B
C#
Raw Normal View History

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;
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
2019-06-23 00:14:29 +08:00
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
public class TestSceneCatcher : CatchSkinnableTestScene
2019-06-23 00:14:29 +08:00
{
public override IReadOnlyList<Type> RequiredTypes => base.RequiredTypes.Concat(new[]
2019-06-23 00:14:29 +08:00
{
typeof(CatcherArea),
typeof(CatcherSprite)
}).ToList();
2019-06-23 00:14:29 +08:00
[BackgroundDependencyLoader]
private void load()
{
SetContents(() => new Catcher
2019-06-23 00:14:29 +08:00
{
RelativePositionAxes = Axes.None,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
2019-06-23 00:14:29 +08:00
});
}
}
}