Пример #1
0
 public void UpdateState(Cell cell, int neighbors) => cell.SetUpdateState(cell.IsAlive() ? LivingCell(neighbors) : DeadCell(neighbors));