Start background video playback based on provided offset

This commit is contained in:
voidedWarranties
2020-03-07 14:08:13 -08:00
parent 8ceaa39fb4
commit d68d7edea3
9 changed files with 581 additions and 11 deletions

View File

@ -52,6 +52,7 @@ namespace osu.Game.Beatmaps
public int PreviewTime { get; set; }
public string AudioFile { get; set; }
public string BackgroundFile { get; set; }
public int VideoOffset { get; set; }
public string VideoFile { get; set; }
public override string ToString() => $"{Artist} - {Title} ({Author})";
@ -83,6 +84,7 @@ namespace osu.Game.Beatmaps
&& PreviewTime == other.PreviewTime
&& AudioFile == other.AudioFile
&& BackgroundFile == other.BackgroundFile
&& VideoOffset == other.VideoOffset
&& VideoFile == other.VideoFile;
}
}