mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 18:32:56 +08:00
32 lines
881 B
C#
32 lines
881 B
C#
// 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
|
|
};
|
|
}
|
|
}
|
|
}
|