mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 01:47:25 +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(Tick),
|
|||
|
typeof(TickContainer)
|
|||
|
};
|
|||
|
|
|||
|
[BackgroundDependencyLoader]
|
|||
|
private void load()
|
|||
|
{
|
|||
|
Child = new BeatSnapVisualiser
|
|||
|
{
|
|||
|
Anchor = Anchor.Centre,
|
|||
|
Origin = Anchor.Centre
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|