Add bindable mods and autoplay support.

This commit is contained in:
Dean Herbert
2017-03-06 14:52:37 +09:00
parent 1ea21daa91
commit 76ef8c1a6c
5 changed files with 32 additions and 9 deletions

View File

@ -4,6 +4,7 @@
using System;
using System.IO;
using osu.Framework.Audio.Track;
using osu.Framework.Configuration;
using osu.Framework.Graphics.Textures;
using osu.Game.Beatmaps.Formats;
using osu.Game.Beatmaps.IO;
@ -26,6 +27,8 @@ namespace osu.Game.Beatmaps
public PlayMode PlayMode => beatmap?.BeatmapInfo?.Mode > PlayMode.Osu ? beatmap.BeatmapInfo.Mode : PreferredPlayMode ?? PlayMode.Osu;
public readonly Bindable<Mod[]> Mods = new Bindable<Mod[]>();
public readonly bool WithStoryboard;
protected abstract ArchiveReader GetReader();