コード例 #1
0
        private void MakeFinalistsToCompetitors()
        {
            for (int i = 0; i < MatchNodeFinalists.Count; i++)
            {
                if (MatchNodeRule.IsGameFull(this))
                {
                    break;
                }


                FinalistData finalist = MatchNodeFinalists[i];

                ITeam compeditor = finalist.GetCompeditor();


                if (!compeditor.Equals(DummyTeamCreator.DummyTeamInstance))
                {
                    if (!IsTeamACompetitor(compeditor))
                    {
                        CompetitorData toAdd = new CompetitorData(compeditor);
                        MatchNodeBattleResult.Add(toAdd);
                        MatchNodeConnectedFinalists.Add(finalist);
                    }
                }
            }
        }
コード例 #2
0
 public void AddFinalist(INode node, MatchOutcome pos)
 {
     EndNodeFinalist = new FinalistData(node, pos);
 }
コード例 #3
0
 public void AddFinalist(FinalistData finalist)
 {
     MatchNodeFinalists.Add(finalist);
 }
コード例 #4
0
 public void RemoveFinalist(FinalistData finalist)
 {
     MatchNodeFinalists.Remove(finalist);
 }