Exemple #1
0
 private void WriteSolutionLine(SolutionLine line)
 {
     for (int i = line.LowerBound; i < line.Length; i++) Items[line.LineID + i] = line.Items[i];
 }
Exemple #2
0
 public void WriteSolutionLine(SolutionLine line)
 {
     if (line.IsX)
         for (int y = 0; y < line.Length; y++) _solution[line.LineID, y] = line.Items[y];
     else
         for (int x = 0; x < line.Length; x++) _solution[x, line.LineID] = line.Items[x];
 }