Expose skin sources via ISkinSource and revert to consuming based on hierarchy

This commit is contained in:
Dean Herbert
2021-06-22 16:19:55 +09:00
parent 1b0aadcc6f
commit 0ad189e357
9 changed files with 67 additions and 28 deletions

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
@ -146,6 +147,8 @@ namespace osu.Game.Rulesets.Osu.Tests
public ISkin FindProvider(Func<ISkin, bool> lookupFunction) => null;
public IEnumerable<ISkin> AllSources => Enumerable.Empty<ISkin>();
public event Action SourceChanged;
private bool enabled = true;