mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
// 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.Edit.Blueprints;
|
|
using osu.Game.Rulesets.Mania.Objects;
|
|
using osu.Game.Rulesets.Mania.Objects.Drawables;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Tests.Editor
|
|
{
|
|
public class TestSceneNoteSelectionBlueprint : ManiaSelectionBlueprintTestScene
|
|
{
|
|
public TestSceneNoteSelectionBlueprint()
|
|
: base(4)
|
|
{
|
|
for (int i = 0; i < 4; i++)
|
|
{
|
|
var note = new Note
|
|
{
|
|
Column = i,
|
|
StartTime = i * 200,
|
|
};
|
|
note.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
|
|
|
|
var drawableHitObject = new DrawableNote(note);
|
|
Playfield.Add(drawableHitObject);
|
|
AddBlueprint(new NoteSelectionBlueprint(note), drawableHitObject);
|
|
}
|
|
}
|
|
}
|
|
}
|