Add support for bindable retrieval

This commit is contained in:
smoogipoo
2020-07-21 23:13:04 +09:00
parent 599a15edb8
commit 107b5ca4f2
4 changed files with 208 additions and 67 deletions

View File

@ -199,7 +199,10 @@ namespace osu.Game
ScoreManager.Undelete(getBeatmapScores(item), true);
});
dependencies.Cache(new BeatmapDifficultyManager(BeatmapManager));
var difficultyManager = new BeatmapDifficultyManager();
dependencies.Cache(difficultyManager);
AddInternal(difficultyManager);
dependencies.Cache(KeyBindingStore = new KeyBindingStore(contextFactory, RulesetStore));
dependencies.Cache(SettingsStore = new SettingsStore(contextFactory));
dependencies.Cache(RulesetConfigCache = new RulesetConfigCache(SettingsStore));