예제 #1
0
 public Population(IPopulationAttributes attributes)
 {
     _entities = new List<IEntity>();
     _pregnantEntities = new List<IPregnantEntity>();
     if (attributes != null)
         _attributes = attributes;
     else
         throw new ArgumentNullException("PopulationAttributes must not be null!");
 }
예제 #2
0
 public IPopulationBuilder AttributesAre(IPopulationAttributes attributes)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 private PopulationBuilder()
 {
     _attributes = PopulationAttributesBuilder.GetBuilder().Build();
 }