mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 21:27:22 +09:00
GroupsContainer -> GroupContainer.
This commit is contained in:
parent
bc01935a89
commit
38a9e820e6
@ -33,7 +33,7 @@ namespace osu.Game.Screens.Tournament
|
|||||||
protected override BackgroundScreen CreateBackground() => new BackgroundScreenDefault();
|
protected override BackgroundScreen CreateBackground() => new BackgroundScreenDefault();
|
||||||
|
|
||||||
private ScrollingTeamContainer teamsContainer;
|
private ScrollingTeamContainer teamsContainer;
|
||||||
private GroupsContainer groupsContainer;
|
private GroupContainer groupsContainer;
|
||||||
private OsuSpriteText fullTeamNameText;
|
private OsuSpriteText fullTeamNameText;
|
||||||
|
|
||||||
private List<Team> allTeams = new List<Team>();
|
private List<Team> allTeams = new List<Team>();
|
||||||
@ -103,7 +103,7 @@ namespace osu.Game.Screens.Tournament
|
|||||||
Lines = 6
|
Lines = 6
|
||||||
},
|
},
|
||||||
// Groups
|
// Groups
|
||||||
groupsContainer = new GroupsContainer(drawingsConfig.Get<int>(DrawingsConfig.Groups), drawingsConfig.Get<int>(DrawingsConfig.TeamsPerGroup))
|
groupsContainer = new GroupContainer(drawingsConfig.Get<int>(DrawingsConfig.Groups), drawingsConfig.Get<int>(DrawingsConfig.TeamsPerGroup))
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
|
@ -9,14 +9,14 @@ using OpenTK;
|
|||||||
|
|
||||||
namespace osu.Game.Screens.Tournament
|
namespace osu.Game.Screens.Tournament
|
||||||
{
|
{
|
||||||
public class GroupsContainer : Container
|
public class GroupContainer : Container
|
||||||
{
|
{
|
||||||
private List<Group> groups = new List<Group>();
|
private List<Group> groups = new List<Group>();
|
||||||
|
|
||||||
private int maxTeams;
|
private int maxTeams;
|
||||||
private int currentGroup;
|
private int currentGroup;
|
||||||
|
|
||||||
public GroupsContainer(int numGroups, int teamsPerGroup)
|
public GroupContainer(int numGroups, int teamsPerGroup)
|
||||||
{
|
{
|
||||||
FlowContainer<Group> bottomGroups;
|
FlowContainer<Group> bottomGroups;
|
||||||
FlowContainer<Group> topGroups;
|
FlowContainer<Group> topGroups;
|
@ -215,7 +215,7 @@
|
|||||||
<Compile Include="Screens\Tournament\Components\VisualiserContainer.cs" />
|
<Compile Include="Screens\Tournament\Components\VisualiserContainer.cs" />
|
||||||
<Compile Include="Screens\Tournament\Drawings.cs" />
|
<Compile Include="Screens\Tournament\Drawings.cs" />
|
||||||
<Compile Include="Screens\Tournament\Group.cs" />
|
<Compile Include="Screens\Tournament\Group.cs" />
|
||||||
<Compile Include="Screens\Tournament\GroupsContainer.cs" />
|
<Compile Include="Screens\Tournament\GroupContainer.cs" />
|
||||||
<Compile Include="Screens\Tournament\Teams\ITeamList.cs" />
|
<Compile Include="Screens\Tournament\Teams\ITeamList.cs" />
|
||||||
<Compile Include="Screens\Tournament\ScrollingTeamContainer.cs" />
|
<Compile Include="Screens\Tournament\ScrollingTeamContainer.cs" />
|
||||||
<Compile Include="Screens\Tournament\Teams\Team.cs" />
|
<Compile Include="Screens\Tournament\Teams\Team.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user