mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 10:47:28 +08:00
Make TestSceneHitCircle
show more than one cirle to make testing easier
This commit is contained in:
parent
494790294a
commit
f6b29d8ebc
@ -58,10 +58,11 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
|
|
||||||
private Drawable testSingle(float circleSize, bool auto = false, double timeOffset = 0, Vector2? positionOffset = null)
|
private Drawable testSingle(float circleSize, bool auto = false, double timeOffset = 0, Vector2? positionOffset = null)
|
||||||
{
|
{
|
||||||
var drawable = createSingle(circleSize, auto, timeOffset, positionOffset);
|
|
||||||
|
|
||||||
var playfield = new TestOsuPlayfield();
|
var playfield = new TestOsuPlayfield();
|
||||||
playfield.Add(drawable);
|
|
||||||
|
for (double t = timeOffset; t < timeOffset + 60000; t += 2000)
|
||||||
|
playfield.Add(createSingle(circleSize, auto, t, positionOffset));
|
||||||
|
|
||||||
return playfield;
|
return playfield;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user