mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Let's not use Country for drawings-specific stuff...
This commit is contained in:
@ -13,7 +13,7 @@ using osu.Framework.Graphics.Textures;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Game.Users;
|
||||
using osu.Game.Screens.Tournament.Teams;
|
||||
|
||||
namespace osu.Game.Screens.Tournament
|
||||
{
|
||||
@ -73,7 +73,7 @@ namespace osu.Game.Screens.Tournament
|
||||
};
|
||||
}
|
||||
|
||||
public void AddTeam(Country team)
|
||||
public void AddTeam(Team team)
|
||||
{
|
||||
GroupTeam gt = new GroupTeam(team);
|
||||
|
||||
@ -91,7 +91,7 @@ namespace osu.Game.Screens.Tournament
|
||||
return allTeams.Any(t => t.Team.FullName == fullName);
|
||||
}
|
||||
|
||||
public bool RemoveTeam(Country team)
|
||||
public bool RemoveTeam(Team team)
|
||||
{
|
||||
allTeams.RemoveAll(gt => gt.Team == team);
|
||||
|
||||
@ -122,12 +122,12 @@ namespace osu.Game.Screens.Tournament
|
||||
|
||||
private class GroupTeam : Container
|
||||
{
|
||||
public readonly Country Team;
|
||||
public readonly Team Team;
|
||||
|
||||
private readonly FillFlowContainer innerContainer;
|
||||
private readonly Sprite flagSprite;
|
||||
|
||||
public GroupTeam(Country team)
|
||||
public GroupTeam(Team team)
|
||||
{
|
||||
Team = team;
|
||||
|
||||
|
Reference in New Issue
Block a user