mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09:00
30 lines
890 B
C#
30 lines
890 B
C#
// 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.
|
|
|
|
#nullable disable
|
|
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Rulesets.Mania.Beatmaps;
|
|
using osu.Game.Rulesets.Mania.UI;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Tests.Skinning
|
|
{
|
|
public class TestSceneStage : ManiaSkinnableTestScene
|
|
{
|
|
[BackgroundDependencyLoader]
|
|
private void load()
|
|
{
|
|
SetContents(_ =>
|
|
{
|
|
ManiaAction normalAction = ManiaAction.Key1;
|
|
ManiaAction specialAction = ManiaAction.Special1;
|
|
|
|
return new ManiaInputManager(new ManiaRuleset().RulesetInfo, 4)
|
|
{
|
|
Child = new Stage(0, new StageDefinition(4), ref normalAction, ref specialAction)
|
|
};
|
|
});
|
|
}
|
|
}
|
|
}
|