Split performance calculation to its own class.

This commit is contained in:
Lucas A
2020-09-27 12:44:29 +02:00
parent 3cb9103fe0
commit ddede85704
4 changed files with 47 additions and 26 deletions

View File

@ -58,6 +58,8 @@ namespace osu.Game
protected ScoreManager ScoreManager;
protected ScorePerformanceManager ScorePerformanceManager;
protected BeatmapDifficultyManager DifficultyManager;
protected SkinManager SkinManager;
@ -226,6 +228,9 @@ namespace osu.Game
dependencies.Cache(DifficultyManager = new BeatmapDifficultyManager());
AddInternal(DifficultyManager);
dependencies.Cache(ScorePerformanceManager = new ScorePerformanceManager());
AddInternal(ScorePerformanceManager);
dependencies.Cache(KeyBindingStore = new KeyBindingStore(contextFactory, RulesetStore));
dependencies.Cache(SettingsStore = new SettingsStore(contextFactory));
dependencies.Cache(RulesetConfigCache = new RulesetConfigCache(SettingsStore));