CurrentLineup() public method

public CurrentLineup ( Time currentTime, List &homeFieldPlayers, List &homeBenchPlayers, List &awayFieldPlayers, List &awayBenchPlayers ) : void
currentTime Time
homeFieldPlayers List
homeBenchPlayers List
awayFieldPlayers List
awayBenchPlayers List
return void
コード例 #1
0
        public void LoadSubstitution(ProjectLongoMatch project, SubstitutionEvent substitution)
        {
            List<PlayerLongoMatch> hfp, hbp, afp, abp;

            this.substitution = substitution;
            project.CurrentLineup (substitution.EventTime, out hfp, out hbp, out afp, out abp);
            playershbox.Visible = true;
            tagger.SubstitutionMode = false;
            tagger.ShowSubstitutionButtons = false;
            tagger.SelectionMode = MultiSelectionMode.Single;
            if (substitution.Teams.Contains (project.LocalTeamTemplate)) {
                LoadTeams (project, hfp, hbp, null, null);
            } else {
                LoadTeams (project, null, null, afp, abp);
            }
            SwitchPlayer (substitution.In, substitution.Out);
        }