mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Better beatmap conversion model.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user