Beispiel #1
0
 private Cell AddLiveNeighbors(Cell cell, int numLiveNeighbors)
 {
     for (int i = 0; i < numLiveNeighbors; i++)
     {
         cell.AddNeighbor(Cell.MakeLive());
     }
     return cell;
 }