Make metadata a member of WorkingBeatmap.

This commit is contained in:
Huo Yaoyuan
2017-05-01 21:29:57 +08:00
parent 91ad0cb75e
commit 4f49151984
4 changed files with 11 additions and 6 deletions

View File

@ -14,8 +14,8 @@ namespace osu.Game.Database
{
private readonly BeatmapDatabase database;
public DatabaseWorkingBeatmap(BeatmapDatabase database, BeatmapInfo beatmapInfo, BeatmapSetInfo beatmapSetInfo, bool withStoryboard = false)
: base(beatmapInfo, beatmapSetInfo, withStoryboard)
public DatabaseWorkingBeatmap(BeatmapDatabase database, BeatmapInfo beatmapInfo, BeatmapSetInfo beatmapSetInfo = null, BeatmapMetadata metadata = null, bool withStoryboard = false)
: base(beatmapInfo, beatmapSetInfo, metadata, withStoryboard)
{
this.database = database;
}