예제 #1
0
 public NotIdenticalTeam(ITeamParameters parameters) : base()
 {
     for (int i = 0; i < parameters.NumberOfSeenShepherds; i++)
     {
         Members.Add(AgentFactory.GetShepherd(parameters));
     }
 }
예제 #2
0
        public IdenticalTeam(ITeamParameters parameters) : base()
        {
            if (parameters.NumberOfShepherds == 0)
            {
                return;
            }

            Members.Add(AgentFactory.GetShepherd(parameters));
            Resize(parameters.NumberOfShepherds);
        }