osu/osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneHoldNote.cs

22 lines
703 B
C#
Raw Normal View History

2020-03-31 06:29:25 +00:00
// 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.
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Mania.Objects.Drawables;
namespace osu.Game.Rulesets.Mania.Tests.Skinning
{
public class TestSceneHoldNote : ManiaHitObjectTestScene
{
protected override DrawableManiaHitObject CreateHitObject()
{
var note = new HoldNote { Duration = 1000 };
note.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
2020-04-02 07:36:57 +00:00
return new DrawableHoldNote(note);
2020-03-31 06:29:25 +00:00
}
}
}