Better beatmap conversion model.

This commit is contained in:
smoogipooo
2017-03-12 00:34:21 +09:00
parent 75ed7406e4
commit 592e05a2c8
26 changed files with 196 additions and 66 deletions

View File

@ -35,11 +35,9 @@ namespace osu.Game.Beatmaps
{
protected List<T> Objects;
protected abstract HitObjectConverter<T> Converter { get; }
protected DifficultyCalculator(Beatmap beatmap)
{
Objects = Converter.Convert(beatmap);
Objects = beatmap.ConvertTo<T>().HitObjects;
PreprocessHitObjects();
}