mirror of
https://github.com/ppy/osu.git
synced 2025-02-05 21:33:04 +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()
|
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));
|
AddUntilStep("any storyboard samples playing", () => allStoryboardSamples.Any(sound => sound.IsPlaying));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,26 +29,6 @@ namespace osu.Game.Beatmaps
|
|||||||
///</summary>
|
///</summary>
|
||||||
public bool BeatmapLoaded { get; }
|
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>
|
/// <summary>
|
||||||
/// Whether the Track has finished loading.
|
/// Whether the Track has finished loading.
|
||||||
///</summary>
|
///</summary>
|
||||||
|
@ -54,10 +54,6 @@ namespace osu.Game.Beatmaps
|
|||||||
#region Load checks
|
#region Load checks
|
||||||
|
|
||||||
public virtual bool TrackLoaded => loadedTrack != null;
|
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;
|
public virtual bool BeatmapLoaded => beatmapLoadTask?.IsCompleted ?? false;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user