-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove read stage ingo from the beatmap.
- Loading branch information
1 parent
ace95e6
commit d1cc4f8
Showing
4 changed files
with
3 additions
and
34 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
osu.Game.Rulesets.Karaoke.Tests/Screens/Edit/Stages/Classic/ClassicStageScreenTestScene.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence. | ||
// See the LICENCE file in the repository root for full licence text. | ||
|
||
using osu.Game.Rulesets.Karaoke.Beatmaps; | ||
using osu.Game.Rulesets.Karaoke.Screens.Edit.Stages.Classic; | ||
using osu.Game.Rulesets.Karaoke.Stages.Infos.Classic; | ||
|
||
namespace osu.Game.Rulesets.Karaoke.Tests.Screens.Edit.Stages.Classic; | ||
|
||
public abstract partial class ClassicStageScreenTestScene<T> : GenericEditorScreenTestScene<T, ClassicStageEditorScreenMode> | ||
where T : ClassicStageScreen | ||
{ | ||
protected override KaraokeBeatmap CreateBeatmap() | ||
{ | ||
var karaokeBeatmap = base.CreateBeatmap(); | ||
|
||
// add classic stage info for testing purpose. | ||
var stageInfo = new ClassicStageInfo(); | ||
karaokeBeatmap.StageInfos.Add(stageInfo); | ||
karaokeBeatmap.CurrentStageInfo = stageInfo; | ||
|
||
return karaokeBeatmap; | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
osu.Game.Rulesets.Karaoke.Tests/Screens/Edit/Stages/Classic/TestSceneClassicStageEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,10 @@ | ||
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence. | ||
// See the LICENCE file in the repository root for full licence text. | ||
|
||
using osu.Game.Rulesets.Karaoke.Beatmaps; | ||
using osu.Game.Rulesets.Karaoke.Screens.Edit.Stages.Classic; | ||
using osu.Game.Rulesets.Karaoke.Stages.Infos.Classic; | ||
|
||
namespace osu.Game.Rulesets.Karaoke.Tests.Screens.Edit.Stages.Classic; | ||
|
||
public partial class TestSceneClassicStageEditor : GenericEditorTestScene<ClassicStageEditor, ClassicStageEditorScreenMode> | ||
{ | ||
protected override KaraokeBeatmap CreateBeatmap() | ||
{ | ||
var karaokeBeatmap = base.CreateBeatmap(); | ||
|
||
// add classic stage info for testing purpose. | ||
karaokeBeatmap.StageInfos.Add(new ClassicStageInfo()); | ||
|
||
return karaokeBeatmap; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters