Mark CreateHitObjectComposer() accept null.

And add the null check in the test case.
This commit is contained in:
為什麼
2022-07-10 10:09:32 +08:00
parent 57c6763556
commit 8e1ed1c621
2 changed files with 8 additions and 2 deletions

View File

@ -236,7 +236,7 @@ namespace osu.Game.Rulesets
/// <returns>A performance calculator instance for the provided score.</returns>
public virtual PerformanceCalculator? CreatePerformanceCalculator() => null;
public virtual HitObjectComposer CreateHitObjectComposer() => null;
public virtual HitObjectComposer? CreateHitObjectComposer() => null;
public virtual IBeatmapVerifier? CreateBeatmapVerifier() => null;