예제 #1
0
 public TestingPolygon(Image image)
 {
     _pd          = new PixelDrawer(image, Configuration.FieldSize, Configuration.ScaleSize);
     int[,] field = DataSaver.LoadField();
     if (field == null)
     {
         CellField = new SimulationManger();
     }
     else
     {
         CellField = new SimulationManger(field);
     }
 }
예제 #2
0
 public TestingPolygon(Image image)
 {
     _pd       = new PixelDrawer(image);
     CellField = new SimulationManger();
 }
예제 #3
0
 public TestingPolygon(PixelDrawer pd, SimulationManger cellField)
 {
     _pd       = pd;
     CellField = cellField;
 }