mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Add score/health processors to fill in default values
This commit is contained in:
@ -14,6 +14,7 @@ using osu.Game.Graphics;
|
|||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Rulesets.Edit;
|
using osu.Game.Rulesets.Edit;
|
||||||
|
using osu.Game.Rulesets.Scoring;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
using osuTK.Graphics;
|
using osuTK.Graphics;
|
||||||
|
|
||||||
@ -25,6 +26,16 @@ namespace osu.Game.Skinning.Editor
|
|||||||
|
|
||||||
private const float component_display_scale = 0.8f;
|
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)
|
public SkinComponentToolbox(float height)
|
||||||
: base("Components", height)
|
: base("Components", height)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user