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);
                    }
                }
            }
        }
Beispiel #2
0
        public void Update()
        {
            if (!IsGameFinished())
            {
                ITeam team = EndNodeFinalist.GetCompeditor();

                if (team != DummyTeamCreator.DummyTeamInstance)
                {
                    EndNodeTeam = team;
                }
            }
        }