Add constant for osu! playfield size.

This commit is contained in:
Dean Herbert
2017-04-18 12:19:39 +09:00
parent ef5d50e7d8
commit 2df21066e7
5 changed files with 12 additions and 7 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Desktop.VisualTests.Tests
objects.Add(new HitCircle
{
StartTime = time,
Position = new Vector2(RNG.Next(0, 512), RNG.Next(0, 384)),
Position = new Vector2(RNG.Next(0, (int)OsuPlayfield.BASE_SIZE.X), RNG.Next(0, (int)OsuPlayfield.BASE_SIZE.Y)),
Scale = RNG.NextSingle(0.5f, 1.0f),
});