Exemplo n.º 1
0
 private bool IsEligibleForSurvival(int x, int y, IWorld world)
 {
     var cell = world[x, y];
     return IsEligibleForSurvival(cell.IsAlive, world.GetNumberOfNeighbours(x, y));
 }