mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Rename tournamentStorage to storage
This commit is contained in:
parent
417919320c
commit
c2e01e198f
@ -15,7 +15,6 @@ using osu.Framework.Graphics.Shapes;
|
|||||||
using osu.Framework.Graphics.Textures;
|
using osu.Framework.Graphics.Textures;
|
||||||
using osu.Framework.Input;
|
using osu.Framework.Input;
|
||||||
using osu.Framework.IO.Stores;
|
using osu.Framework.IO.Stores;
|
||||||
using osu.Framework.Platform;
|
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Online.API.Requests;
|
using osu.Game.Online.API.Requests;
|
||||||
@ -36,9 +35,7 @@ namespace osu.Game.Tournament
|
|||||||
|
|
||||||
private LadderInfo ladder;
|
private LadderInfo ladder;
|
||||||
|
|
||||||
private Storage storage;
|
private TournamentStorage storage;
|
||||||
|
|
||||||
private TournamentStorage tournamentStorage;
|
|
||||||
|
|
||||||
private DependencyContainer dependencies;
|
private DependencyContainer dependencies;
|
||||||
|
|
||||||
@ -57,11 +54,9 @@ namespace osu.Game.Tournament
|
|||||||
{
|
{
|
||||||
Resources.AddStore(new DllResourceStore(typeof(TournamentGameBase).Assembly));
|
Resources.AddStore(new DllResourceStore(typeof(TournamentGameBase).Assembly));
|
||||||
|
|
||||||
dependencies.CacheAs(tournamentStorage = new TournamentStorage(Host));
|
dependencies.CacheAs(storage = new TournamentStorage(Host));
|
||||||
|
|
||||||
Textures.AddStore(new TextureLoaderStore(tournamentStorage.VideoStorage));
|
Textures.AddStore(new TextureLoaderStore(storage.VideoStorage));
|
||||||
|
|
||||||
storage = tournamentStorage;
|
|
||||||
|
|
||||||
windowSize = frameworkConfig.GetBindable<Size>(FrameworkSetting.WindowedSize);
|
windowSize = frameworkConfig.GetBindable<Size>(FrameworkSetting.WindowedSize);
|
||||||
windowSize.BindValueChanged(size => ScheduleAfterChildren(() =>
|
windowSize.BindValueChanged(size => ScheduleAfterChildren(() =>
|
||||||
|
Loading…
Reference in New Issue
Block a user