示例#1
0
        }     //END

        //---------------------------------------------------------------------

        public void setConferenceChampIndexes(SimulationDirector simulationDirector)
        {
            //FOR ALL CONFERENCES
            for (int conferenceIndex = 0; conferenceIndex < appResources.getLengthOfConferenceNames(); conferenceIndex++)
            {
                //CHECK IF CONFERENCE TOURNAMENT CHAMPION
                //ADD CHAMPION TO TOURNAMENT
                //ELSE ADD CONFERENCE LEADER
                if (simulationDirector.getConfTournChampSet(conferenceIndex))
                {
                    tournamentContainer.set32ConfChampsIndexes(conferenceIndex, simulationDirector.getConfTournChampTeamIndex(conferenceIndex));
                }
                else
                {
                    setConferenceChampIndex(simulationDirector.getTeams(), conferenceIndex);
                } //END IF
            }     //END FOR
        }         //END