mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Take IWorkingBeatmap
instead of WorkingBeatmap
This makes testing much easier, and allows for checking of any class deriving from that interface, including `WorkingBeatmap`.
This commit is contained in:
@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Checks
|
||||
new IssueTemplateOffscreenSlider(this)
|
||||
};
|
||||
|
||||
public IEnumerable<Issue> Run(WorkingBeatmap workingBeatmap)
|
||||
public IEnumerable<Issue> Run(IWorkingBeatmap workingBeatmap)
|
||||
{
|
||||
foreach (var hitobject in workingBeatmap.Beatmap.HitObjects)
|
||||
{
|
||||
|
Reference in New Issue
Block a user