GroupsContainer -> GroupContainer.

This commit is contained in:
Dean Herbert 2017-03-03 20:46:07 +09:00
parent bc01935a89
commit 38a9e820e6
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
3 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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;

View File

@ -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" />