Rename "playableBeatmap" check arg to "beatmap"

The working beatmap is now in the context, so it's easier to distinguish beatmap type, hence no need for this prefix.
This commit is contained in:
Naxess
2021-05-12 02:34:16 +02:00
parent 64d96b06a6
commit b7bc42e0d3
12 changed files with 28 additions and 28 deletions

View File

@ -22,15 +22,15 @@ namespace osu.Game.Rulesets.Edit.Checks
new IssueTemplateConcurrentDifferent(this)
};
public IEnumerable<Issue> Run(IBeatmap playableBeatmap, BeatmapVerifierContext context)
public IEnumerable<Issue> Run(IBeatmap beatmap, BeatmapVerifierContext context)
{
for (int i = 0; i < playableBeatmap.HitObjects.Count - 1; ++i)
for (int i = 0; i < beatmap.HitObjects.Count - 1; ++i)
{
var hitobject = playableBeatmap.HitObjects[i];
var hitobject = beatmap.HitObjects[i];
for (int j = i + 1; j < playableBeatmap.HitObjects.Count; ++j)
for (int j = i + 1; j < beatmap.HitObjects.Count; ++j)
{
var nextHitobject = playableBeatmap.HitObjects[j];
var nextHitobject = beatmap.HitObjects[j];
// Accounts for rulesets with hitobjects separated by columns, such as Mania.
// In these cases we only care about concurrent objects within the same column.