1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 02:32:59 +08:00

Remove unused load checks

This commit is contained in:
Dean Herbert 2021-12-22 18:12:01 +09:00
parent 3c95497ed7
commit f3f491374b
3 changed files with 1 additions and 25 deletions

View File

@ -57,7 +57,7 @@ namespace osu.Game.Tests.Visual.Gameplay
private void checkForFirstSamplePlayback()
{
AddUntilStep("storyboard loaded", () => Player.Beatmap.Value.StoryboardLoaded);
AddAssert("storyboard loaded", () => Player.Beatmap.Value.Storyboard != null);
AddUntilStep("any storyboard samples playing", () => allStoryboardSamples.Any(sound => sound.IsPlaying));
}

View File

@ -29,26 +29,6 @@ namespace osu.Game.Beatmaps
///</summary>
public bool BeatmapLoaded { get; }
/// <summary>
/// Whether the Background has finished loading.
///</summary>
public bool BackgroundLoaded { get; }
/// <summary>
/// Whether the Waveform has finished loading.
///</summary>
public bool WaveformLoaded { get; }
/// <summary>
/// Whether the Storyboard has finished loading.
///</summary>
public bool StoryboardLoaded { get; }
/// <summary>
/// Whether the Skin has finished loading.
///</summary>
public bool SkinLoaded { get; }
/// <summary>
/// Whether the Track has finished loading.
///</summary>

View File

@ -54,10 +54,6 @@ namespace osu.Game.Beatmaps
#region Load checks
public virtual bool TrackLoaded => loadedTrack != null;
public bool WaveformLoaded => waveform.IsResultAvailable;
public bool StoryboardLoaded => storyboard.IsResultAvailable;
public bool SkinLoaded => skin.IsResultAvailable;
public bool BackgroundLoaded => background.IsResultAvailable;
public virtual bool BeatmapLoaded => beatmapLoadTask?.IsCompleted ?? false;
#endregion