1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-22 14:23:10 +08:00

Merge pull request #12802 from peppy/random-component-toolbox-plaaceholders

Randomise the values displayed in the skinning toolbox
This commit is contained in:
Dan Balasescu 2021-05-14 13:38:43 +09:00 committed by GitHub
commit 475c7e4a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Effects; using osu.Framework.Graphics.Effects;
using osu.Framework.Input.Events; using osu.Framework.Input.Events;
using osu.Framework.Utils;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
@ -29,8 +30,8 @@ namespace osu.Game.Skinning.Editor
[Cached] [Cached]
private ScoreProcessor scoreProcessor = new ScoreProcessor private ScoreProcessor scoreProcessor = new ScoreProcessor
{ {
Combo = { Value = 727 }, Combo = { Value = RNG.Next(1, 1000) },
TotalScore = { Value = 1337377 } TotalScore = { Value = RNG.Next(1000, 10000000) }
}; };
[Cached(typeof(HealthProcessor))] [Cached(typeof(HealthProcessor))]