osu/osu.Game.Rulesets.Mania.Tests/ManiaSelectionBlueprintTestScene.cs

32 lines
982 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-11-13 07:42:40 +00:00
using osu.Framework.Allocation;
2018-11-15 12:37:22 +00:00
using osu.Framework.Graphics;
2018-11-13 07:42:40 +00:00
using osu.Framework.Timing;
2018-11-15 12:37:22 +00:00
using osu.Game.Rulesets.Mania.UI;
2018-11-13 07:42:40 +00:00
using osu.Game.Tests.Visual;
2018-11-26 02:47:48 +00:00
using osuTK.Graphics;
2018-11-13 07:42:40 +00:00
namespace osu.Game.Rulesets.Mania.Tests
{
public abstract class ManiaSelectionBlueprintTestScene : SelectionBlueprintTestScene
2018-11-13 07:42:40 +00:00
{
[Cached(Type = typeof(IAdjustableClock))]
private readonly IAdjustableClock clock = new StopwatchClock();
2018-11-15 12:37:22 +00:00
protected ManiaSelectionBlueprintTestScene()
2018-11-15 12:37:22 +00:00
{
2020-05-22 02:35:26 +00:00
Add(new Column(0)
2018-11-15 12:37:22 +00:00
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
AccentColour = Color4.OrangeRed,
Clock = new FramedClock(new StopwatchClock()), // No scroll
});
}
2020-05-22 02:35:26 +00:00
public ManiaPlayfield Playfield => null;
2018-11-13 07:42:40 +00:00
}
}