Load defaults, pass around live IEnumerable, add PK for updating

This commit is contained in:
Dean Herbert
2017-08-14 22:31:23 +09:00
parent 7c9d6c9c83
commit 46bfa4db29
4 changed files with 47 additions and 13 deletions

View File

@ -108,7 +108,7 @@ namespace osu.Game
dependencies.Cache(FileStore = new FileStore(connection, Host.Storage));
dependencies.Cache(BeatmapManager = new BeatmapManager(Host.Storage, FileStore, connection, RulesetStore, Host));
dependencies.Cache(ScoreStore = new ScoreStore(Host.Storage, connection, Host, BeatmapManager));
dependencies.Cache(KeyBindingStore = new KeyBindingStore(connection));
dependencies.Cache(KeyBindingStore = new KeyBindingStore(connection, RulesetStore));
dependencies.Cache(new OsuColour());
//this completely overrides the framework default. will need to change once we make a proper FontStore.