Use string lookups for combo colours

This commit is contained in:
Dean Herbert
2018-03-22 17:32:05 +09:00
parent ab9505652b
commit c4fe6a04c5
5 changed files with 23 additions and 10 deletions

View File

@ -14,7 +14,6 @@ using osu.Framework.Graphics.Textures;
using osu.Framework.Platform;
using osu.Game.Database;
using osu.Game.IO.Archives;
using osu.Game.Rulesets.Objects.Types;
using OpenTK.Graphics;
namespace osu.Game.Skinning
@ -124,6 +123,6 @@ namespace osu.Game.Skinning
public SampleChannel GetSample(string sampleName) => CurrentSkin.Value.GetSample(sampleName);
public Color4? GetComboColour(IHasComboInformation comboObject) => CurrentSkin.Value.GetComboColour(comboObject);
public Color4? GetColour(string colourName) => CurrentSkin.Value.GetColour(colourName);
}
}