Esempio n. 1
0
 private EvoDrawing(List <EvoShape> shapeList, ShapeType type, int minPoints, int maxPoints, float fitness)
 {
     shapes = new List <EvoShape>();
     foreach (var shape in shapeList)
     {
         shapes.Add(shape.Clone());
     }
     shape          = type;
     minShapePoints = minPoints;
     MaxShapePoints = maxPoints;
     Fitness        = fitness;
 }