mirror of https://github.com/ppy/osu
Make Mods IEnumerable.
This commit is contained in:
parent
ff51af94ec
commit
2de25c23b4
|
@ -2,6 +2,7 @@
|
|||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using osu.Framework.Audio.Track;
|
||||
using osu.Framework.Configuration;
|
||||
|
@ -27,7 +28,7 @@ public abstract class WorkingBeatmap : IDisposable
|
|||
|
||||
public PlayMode PlayMode => beatmap?.BeatmapInfo?.Mode > PlayMode.Osu ? beatmap.BeatmapInfo.Mode : PreferredPlayMode ?? PlayMode.Osu;
|
||||
|
||||
public readonly Bindable<Mod[]> Mods = new Bindable<Mod[]>();
|
||||
public readonly Bindable<IEnumerable<Mod>> Mods = new Bindable<IEnumerable<Mod>>();
|
||||
|
||||
public readonly bool WithStoryboard;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class ModSelectOverlay : WaveOverlayContainer
|
|||
|
||||
private FillFlowContainer<ModSection> modSectionsContainer;
|
||||
|
||||
public readonly Bindable<Mod[]> SelectedMods = new Bindable<Mod[]>();
|
||||
public readonly Bindable<IEnumerable<Mod>> SelectedMods = new Bindable<IEnumerable<Mod>>();
|
||||
|
||||
public readonly Bindable<PlayMode> PlayMode = new Bindable<PlayMode>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue