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:
parent
3c95497ed7
commit
f3f491374b
@ -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));
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user