mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Merge branch 'fix-broken-test-scene' into spectator-state-rework
This commit is contained in:
@ -97,7 +97,7 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
public new void Redo() => base.Redo();
|
||||
|
||||
public new void Save() => base.Save();
|
||||
public new bool Save() => base.Save();
|
||||
|
||||
public new void Cut() => base.Cut();
|
||||
|
||||
@ -107,6 +107,8 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
public new void SwitchToDifficulty(BeatmapInfo beatmapInfo) => base.SwitchToDifficulty(beatmapInfo);
|
||||
|
||||
public new void CreateNewDifficulty(RulesetInfo rulesetInfo) => base.CreateNewDifficulty(rulesetInfo);
|
||||
|
||||
public new bool HasUnsavedChanges => base.HasUnsavedChanges;
|
||||
|
||||
public TestEditor(EditorLoader loader = null)
|
||||
@ -134,6 +136,12 @@ namespace osu.Game.Tests.Visual
|
||||
return new TestWorkingBeatmapCache(this, audioManager, resources, storage, defaultBeatmap, host);
|
||||
}
|
||||
|
||||
public override WorkingBeatmap CreateNewBlankDifficulty(BeatmapSetInfo beatmapSetInfo, RulesetInfo rulesetInfo)
|
||||
{
|
||||
// don't actually care about properly creating a difficulty for this context.
|
||||
return TestBeatmap;
|
||||
}
|
||||
|
||||
private class TestWorkingBeatmapCache : WorkingBeatmapCache
|
||||
{
|
||||
private readonly TestBeatmapManager testBeatmapManager;
|
||||
|
Reference in New Issue
Block a user