2019-01-24 08:43:03 +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.
|
2018-10-25 09:48:11 +00:00
|
|
|
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
using osu.Game.Beatmaps.ControlPoints;
|
|
|
|
using osu.Game.Rulesets.Edit;
|
2018-11-07 07:08:56 +00:00
|
|
|
using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles;
|
2018-10-25 09:48:11 +00:00
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
using osu.Game.Rulesets.Osu.Objects.Drawables;
|
|
|
|
using osu.Game.Tests.Visual;
|
2018-11-20 07:51:59 +00:00
|
|
|
using osuTK;
|
2018-10-25 09:48:11 +00:00
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Tests
|
|
|
|
{
|
2018-11-06 09:06:13 +00:00
|
|
|
public class TestCaseHitCircleSelectionBlueprint : SelectionBlueprintTestCase
|
2018-10-25 09:48:11 +00:00
|
|
|
{
|
|
|
|
private readonly DrawableHitCircle drawableObject;
|
|
|
|
|
2018-11-06 09:06:13 +00:00
|
|
|
public TestCaseHitCircleSelectionBlueprint()
|
2018-10-25 09:48:11 +00:00
|
|
|
{
|
|
|
|
var hitCircle = new HitCircle { Position = new Vector2(256, 192) };
|
|
|
|
hitCircle.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty { CircleSize = 2 });
|
|
|
|
|
|
|
|
Add(drawableObject = new DrawableHitCircle(hitCircle));
|
|
|
|
}
|
|
|
|
|
2018-11-07 06:04:48 +00:00
|
|
|
protected override SelectionBlueprint CreateBlueprint() => new HitCircleSelectionBlueprint(drawableObject);
|
2018-10-25 09:48:11 +00:00
|
|
|
}
|
|
|
|
}
|