mirror of https://github.com/ppy/osu
Add score/health processors to fill in default values
This commit is contained in:
parent
2ecd638f7f
commit
1b701adfef
|
@ -14,6 +14,7 @@
|
|||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Rulesets.Edit;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
|
||||
|
@ -25,6 +26,16 @@ public class SkinComponentToolbox : ScrollingToolboxGroup
|
|||
|
||||
private const float component_display_scale = 0.8f;
|
||||
|
||||
[Cached]
|
||||
private ScoreProcessor scoreProcessor = new ScoreProcessor
|
||||
{
|
||||
Combo = { Value = 727 },
|
||||
TotalScore = { Value = 1337377 }
|
||||
};
|
||||
|
||||
[Cached(typeof(HealthProcessor))]
|
||||
private HealthProcessor healthProcessor = new DrainingHealthProcessor(0);
|
||||
|
||||
public SkinComponentToolbox(float height)
|
||||
: base("Components", height)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue