mirror of
https://github.com/ppy/osu.git
synced 2024-11-09 02:37:57 +08:00
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|||
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|||
|
|
|||
|
using osu.Framework.Graphics;
|
|||
|
using osu.Framework.Graphics.Containers;
|
|||
|
using osu.Framework.Testing;
|
|||
|
using osu.Game.Rulesets.Mania.Objects;
|
|||
|
using osu.Game.Rulesets.Mania.Objects.Drawables;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace osu.Desktop.VisualTests.Tests
|
|||
|
{
|
|||
|
internal class TestCaseManiaHitObjects : TestCase
|
|||
|
{
|
|||
|
public override void Reset()
|
|||
|
{
|
|||
|
base.Reset();
|
|||
|
|
|||
|
Add(new Container
|
|||
|
{
|
|||
|
Anchor = Anchor.Centre,
|
|||
|
Origin = Anchor.Centre,
|
|||
|
RelativeSizeAxes = Axes.Y,
|
|||
|
Width = 50,
|
|||
|
Children = new[]
|
|||
|
{
|
|||
|
new DrawableNote(new Note())
|
|||
|
{
|
|||
|
Anchor = Anchor.Centre,
|
|||
|
Origin = Anchor.Centre
|
|||
|
}
|
|||
|
}
|
|||
|
});
|
|||
|
}
|
|||
|
}
|
|||
|
}
|