osu/osu.Game.Rulesets.Osu.Tests/TestSceneGameplayCursor.cs

29 lines
799 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 09:19:50 +00:00
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu.UI.Cursor;
namespace osu.Game.Rulesets.Osu.Tests
{
[TestFixture]
2019-08-30 04:58:17 +00:00
public class TestSceneGameplayCursor : SkinnableTestScene
2018-04-13 09:19:50 +00:00
{
2019-02-28 04:31:40 +00:00
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(CursorTrail) };
2018-04-13 09:19:50 +00:00
[BackgroundDependencyLoader]
private void load()
{
2019-08-30 04:58:17 +00:00
SetContents(() => new OsuCursorContainer
{
RelativeSizeAxes = Axes.Both,
Masking = true,
});
2018-04-13 09:19:50 +00:00
}
}
}