osu/osu.Game.Rulesets.Taiko.Tests/Skinning/TestSceneInputDrum.cs

34 lines
1022 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 NUnit.Framework;
using osu.Framework.Allocation;
2018-04-13 09:19:50 +00:00
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Taiko.UI;
using osuTK;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Rulesets.Taiko.Tests.Skinning
2018-04-13 09:19:50 +00:00
{
[TestFixture]
public class TestSceneInputDrum : TaikoSkinnableTestScene
2018-04-13 09:19:50 +00:00
{
[BackgroundDependencyLoader]
private void load()
2018-04-13 09:19:50 +00:00
{
SetContents(() => new TaikoInputManager(new RulesetInfo { ID = 1 })
2018-04-13 09:19:50 +00:00
{
RelativeSizeAxes = Axes.Both,
Child = new Container
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(200),
Child = new InputDrum(new ControlPointInfo())
}
});
}
}
}