Esempio n. 1
0
 public version02(int row, int col, string seed) : base(row, col)
 {
     //The seed specifies the location of alive cells
     path     = System.IO.File.ReadAllText(seed);
     readLine = path.Split("\r\n");
     brush    = 1;
     validate = new validation();
 }
 public version01(int row, int col, string seed) : base(row, col)
 {
     path      = System.IO.File.ReadAllText(seed);
     textArray = path.Split("\r\n");
     validate  = new validation();
 }