void EditCell(HexCell cell) { if (cell) { List <HexCell> neighbors = new List <HexCell>(); for (int i = 0; i < 6; i++) { if (cell.GetNeighbor((HexDirection)i)) { neighbors.Add(cell.GetNeighbor((HexDirection)i)); } } if (isCreate) { cell.Seed(); } else { cell.Flame(); } } }