Add missing cache rules

This commit is contained in:
Dean Herbert
2021-05-07 17:47:38 +09:00
parent 6c255a0572
commit 3044b1c432
3 changed files with 9 additions and 2 deletions

View File

@ -27,6 +27,9 @@ namespace osu.Game.Tests.Visual.Gameplay
[Cached]
private ScoreProcessor scoreProcessor = new ScoreProcessor();
[Cached(typeof(HealthProcessor))]
private HealthProcessor healthProcessor = new DrainingHealthProcessor(0);
private IEnumerable<HUDOverlay> hudOverlays => CreatedDrawables.OfType<HUDOverlay>();
// best way to check without exposing.