mirror of
https://github.com/osukey/osukey.git
synced 2025-06-29 15:17:57 +09:00
Use [Resolved] instead
This commit is contained in:
parent
545e4a1f66
commit
f72a6b8c9d
@ -25,7 +25,9 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
public class TestSceneCatcherArea : CatchSkinnableTestScene
|
public class TestSceneCatcherArea : CatchSkinnableTestScene
|
||||||
{
|
{
|
||||||
private RulesetInfo catchRuleset;
|
private RulesetInfo catchRuleset;
|
||||||
private OsuConfigManager config;
|
|
||||||
|
[Resolved]
|
||||||
|
private OsuConfigManager config { get; set; }
|
||||||
|
|
||||||
public TestSceneCatcherArea()
|
public TestSceneCatcherArea()
|
||||||
{
|
{
|
||||||
@ -105,10 +107,9 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(RulesetStore rulesets, OsuConfigManager configManager)
|
private void load(RulesetStore rulesets)
|
||||||
{
|
{
|
||||||
catchRuleset = rulesets.GetRuleset(2);
|
catchRuleset = rulesets.GetRuleset(2);
|
||||||
config = configManager;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TestFruit : Fruit
|
public class TestFruit : Fruit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user