mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Rename CreateChecker
-> CreateBeatmapVerifier
This commit is contained in:
parent
65ebdd8f7a
commit
a2fc9c398f
@ -206,7 +206,7 @@ namespace osu.Game.Rulesets.Osu
|
|||||||
|
|
||||||
public override HitObjectComposer CreateHitObjectComposer() => new OsuHitObjectComposer(this);
|
public override HitObjectComposer CreateHitObjectComposer() => new OsuHitObjectComposer(this);
|
||||||
|
|
||||||
public override BeatmapVerifier CreateChecker() => new OsuBeatmapVerifier();
|
public override BeatmapVerifier CreateBeatmapVerifier() => new OsuBeatmapVerifier();
|
||||||
|
|
||||||
public override string Description => "osu!";
|
public override string Description => "osu!";
|
||||||
|
|
||||||
|
@ -202,7 +202,7 @@ namespace osu.Game.Rulesets
|
|||||||
|
|
||||||
public virtual HitObjectComposer CreateHitObjectComposer() => null;
|
public virtual HitObjectComposer CreateHitObjectComposer() => null;
|
||||||
|
|
||||||
public virtual BeatmapVerifier CreateChecker() => null;
|
public virtual BeatmapVerifier CreateBeatmapVerifier() => null;
|
||||||
|
|
||||||
public virtual Drawable CreateIcon() => new SpriteIcon { Icon = FontAwesome.Solid.QuestionCircle };
|
public virtual Drawable CreateIcon() => new SpriteIcon { Icon = FontAwesome.Solid.QuestionCircle };
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
|
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
|
||||||
|
|
||||||
ruleset = parent.Get<IBindable<WorkingBeatmap>>().Value.BeatmapInfo.Ruleset?.CreateInstance();
|
ruleset = parent.Get<IBindable<WorkingBeatmap>>().Value.BeatmapInfo.Ruleset?.CreateInstance();
|
||||||
beatmapVerifier = ruleset?.CreateChecker();
|
beatmapVerifier = ruleset?.CreateBeatmapVerifier();
|
||||||
|
|
||||||
return dependencies;
|
return dependencies;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user