IEnumerator GenerateMazeXTimes(int repeatCount = 1)
 {
     for (int x = 0; x < repeatCount; x++)
     {
         selectedMaze.MoveToNewPosition(selectedMaze.GetLength() / 2, selectedMaze.GetWidth() / 2);
         selectedMaze.FillMaze();
         yield return(selectedMaze.AnimateGeneratedMaze(0.1f));
     }
 }