mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Rename base class
This commit is contained in:
parent
089ec4c792
commit
a02c5710ac
@ -11,7 +11,7 @@ using osu.Game.Tests.Visual;
|
||||
namespace osu.Game.Rulesets.Catch.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestSceneCatchModSandbox : TestSceneModSandbox
|
||||
public class TestSceneCatchModSandbox : ModSandboxTestScene
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => base.RequiredTypes.Append(typeof(TestSceneCatchModSandbox)).ToList();
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Tests.Visual;
|
||||
namespace osu.Game.Rulesets.Mania.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestSceneManiaModSandbox : TestSceneModSandbox
|
||||
public class TestSceneManiaModSandbox : ModSandboxTestScene
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => base.RequiredTypes.Append(typeof(TestSceneManiaModSandbox)).ToList();
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Tests.Visual;
|
||||
namespace osu.Game.Rulesets.Osu.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestSceneOsuModSandbox : TestSceneModSandbox
|
||||
public class TestSceneOsuModSandbox : ModSandboxTestScene
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => base.RequiredTypes.Append(typeof(TestSceneOsuModSandbox)).ToList();
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Tests.Visual;
|
||||
namespace osu.Game.Rulesets.Taiko.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestSceneTaikoModSandbox : TestSceneModSandbox
|
||||
public class TestSceneTaikoModSandbox : ModSandboxTestScene
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => base.RequiredTypes.Append(typeof(TestSceneTaikoModSandbox)).ToList();
|
||||
|
||||
|
@ -19,17 +19,17 @@ using osu.Game.Screens.Play;
|
||||
|
||||
namespace osu.Game.Tests.Visual
|
||||
{
|
||||
public abstract class TestSceneModSandbox : PlayerTestScene
|
||||
public abstract class ModSandboxTestScene : PlayerTestScene
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||
{
|
||||
typeof(TestSceneModSandbox)
|
||||
typeof(ModSandboxTestScene)
|
||||
};
|
||||
|
||||
protected Mod Mod;
|
||||
private readonly TriangleButton button;
|
||||
|
||||
protected TestSceneModSandbox(Ruleset ruleset, Mod mod = null)
|
||||
protected ModSandboxTestScene(Ruleset ruleset, Mod mod = null)
|
||||
: base(ruleset)
|
||||
{
|
||||
Mod = mod ?? new SandboxMod();
|
Loading…
Reference in New Issue
Block a user