mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Switch drawing storage to tournamentstorage
This commit is contained in:
parent
c9dc17f3d8
commit
327795ba99
@ -11,7 +11,7 @@ using osu.Game.Tournament.Configuration;
|
||||
|
||||
namespace osu.Game.Tournament.IO
|
||||
{
|
||||
internal class TournamentStorage : WrappedStorage
|
||||
public class TournamentStorage : WrappedStorage
|
||||
{
|
||||
private readonly GameHost host;
|
||||
internal readonly TournamentVideoResourceStore VideoStore;
|
||||
|
@ -5,7 +5,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.Tournament.IO;
|
||||
using osu.Game.Tournament.Models;
|
||||
|
||||
namespace osu.Game.Tournament.Screens.Drawings.Components
|
||||
@ -14,9 +14,9 @@ namespace osu.Game.Tournament.Screens.Drawings.Components
|
||||
{
|
||||
private const string teams_filename = "drawings.txt";
|
||||
|
||||
private readonly Storage storage;
|
||||
private readonly TournamentStorage storage;
|
||||
|
||||
public StorageBackedTeamList(Storage storage)
|
||||
public StorageBackedTeamList(TournamentStorage storage)
|
||||
{
|
||||
this.storage = storage;
|
||||
}
|
||||
|
@ -12,9 +12,9 @@ using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Tournament.Components;
|
||||
using osu.Game.Tournament.IO;
|
||||
using osu.Game.Tournament.Models;
|
||||
using osu.Game.Tournament.Screens.Drawings.Components;
|
||||
using osuTK;
|
||||
@ -36,12 +36,12 @@ namespace osu.Game.Tournament.Screens.Drawings
|
||||
|
||||
private Task writeOp;
|
||||
|
||||
private Storage storage;
|
||||
private TournamentStorage storage;
|
||||
|
||||
public ITeamList TeamList;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(TextureStore textures, Storage storage)
|
||||
private void load(TextureStore textures, TournamentStorage storage)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user