1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-23 16:07:24 +08:00
osu-lazer/osu.Game.Tests/Visual/TestCaseBeatSnapVisualiser.cs

32 lines
881 B
C#
Raw Normal View History

// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Screens.Compose.BeatSnap;
namespace osu.Game.Tests.Visual
{
public class TestCaseBeatSnapVisualiser : OsuTestCase
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(BeatSnapVisualiser),
typeof(TickContainer)
};
[BackgroundDependencyLoader]
private void load()
{
Child = new BeatSnapVisualiser
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Y = -200
};
}
}
}