1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 16:25:32 +08:00

change function to a property

This commit is contained in:
EVAST9919 2017-06-11 22:04:35 +03:00
parent c3f4b1b3cb
commit e552c39444

View File

@ -171,6 +171,8 @@ namespace osu.Game.Screens.Select
} while (index != startIndex);
}
private IEnumerable<BeatmapGroup> getVisibleGroups() => groups.Where(selectGroup => selectGroup.State != BeatmapGroupState.Hidden);
public void SelectNextRandom()
{
randomSelectedBeatmaps.Push(selectedGroup);
@ -221,11 +223,6 @@ namespace osu.Game.Screens.Select
}
}
private IEnumerable<BeatmapGroup> getVisibleGroups()
{
return groups.Where(selectGroup => selectGroup.State != BeatmapGroupState.Hidden);
}
private FilterCriteria criteria = new FilterCriteria();
private ScheduledDelegate filterTask;