コード例 #1
0
        public void LoadProject(ProjectLongoMatch project, EventsFilter filter)
        {
            this.project = project;
            if (project != null) {
                var timeLine = project.Timeline.OfType<TimelineEventLongoMatch> ();

                field.Tagger.Project = project;
                hfield.Tagger.Project = project;
                goal.Tagger.Project = project;
                field.Tagger.Background = project.GetBackground (FieldPositionType.Field);
                hfield.Tagger.Background = project.GetBackground (FieldPositionType.HalfField);
                goal.Tagger.Background = project.GetBackground (FieldPositionType.Goal);
                field.Tagger.Plays = timeLine;
                hfield.Tagger.Plays = timeLine;
                goal.Tagger.Plays = timeLine;
                field.Tagger.Filter = filter;
                hfield.Tagger.Filter = filter;
                goal.Tagger.Filter = filter;
            }
        }
コード例 #2
0
 public void LoadBackgrounds(ProjectLongoMatch project)
 {
     field.Tagger.Background = project.GetBackground (FieldPositionType.Field);
     hfield.Tagger.Background = project.GetBackground (FieldPositionType.HalfField);
     goal.Tagger.Background = project.GetBackground (FieldPositionType.Goal);
 }