Ejemplo n.º 1
0
 /// <summary>
 /// Helper method used during the initialisation of the sudoku board. Places the cube
 /// controller in the correct list of the available count map.
 /// </summary>
 /// <param name="cubeController">The cube controller to be placed in available count map</param>
 private void AddCubeToAvailableCountMap(CubeController cubeController)
 {
     if (cubeController.CubeNumber != 0)
     {
         SelectedCubeList.Add(cubeController);
     }
     else
     {
         NumberCountToCubeListMap[cubeController.CountAvailableNumbersForCube()].Add(cubeController);
     }
 }