Change types back

This commit is contained in:
Craftplacer
2020-09-01 17:58:06 +02:00
parent 9835d98942
commit c2ade44656
4 changed files with 8 additions and 8 deletions

View File

@ -57,7 +57,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
return a.ComboColours.SequenceEqual(b.ComboColours);
}
private void sort((IBeatmap beatmap, IBeatmapSkin beatmapSkin) tuple)
private void sort((IBeatmap beatmap, ISkin beatmapSkin) tuple)
{
// Sort control points to ensure a sane ordering, as they may be parsed in different orders. This works because each group contains only uniquely-typed control points.
foreach (var g in tuple.beatmap.ControlPointInfo.Groups)
@ -77,7 +77,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
}
}
private class TestLegacySkin : LegacySkin, IBeatmapSkin
private class TestLegacySkin : LegacySkin, ISkin
{
public TestLegacySkin(IResourceStore<byte[]> storage, string fileName)
: base(new SkinInfo { Name = "Test Skin", Creator = "Craftplacer" }, storage, null, fileName)
@ -85,7 +85,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
}
}
private Stream encodeToLegacy((IBeatmap beatmap, IBeatmapSkin beatmapSkin) fullBeatmap)
private Stream encodeToLegacy((IBeatmap beatmap, ISkin beatmapSkin) fullBeatmap)
{
var (beatmap, beatmapSkin) = fullBeatmap;
var stream = new MemoryStream();