Add beatmap parameter to beatmapconverter creation

This commit is contained in:
smoogipoo
2018-03-02 01:50:54 +09:00
parent 6f5acaa8f9
commit 4e363664fd
3 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ namespace osu.Game.Tests.Beatmaps
var result = new ConvertResult();
var converter = CreateConverter();
var converter = CreateConverter(beatmap);
converter.ObjectConverted += (orig, converted) =>
{
converted.ForEach(h => h.ApplyDefaults(beatmap.ControlPointInfo, beatmap.BeatmapInfo.BaseDifficulty));
@ -122,7 +122,7 @@ namespace osu.Game.Tests.Beatmaps
}
protected abstract TConvertValue CreateConvertValue(HitObject hitObject);
protected abstract ITestableBeatmapConverter CreateConverter();
protected abstract ITestableBeatmapConverter CreateConverter(Beatmap beatmap);
private class ConvertMapping
{