@@ -22,7 +22,7 @@ public CoolMaze(int mazeComplexity)
2222 }
2323 public void drawWallsAndStartAndEndPoints ()
2424 {
25- Color colorOfStartAndEndPoints = StdDraw .GREEN ;
25+ Color colorOfStartAndEndPoints = StdDrawColors .GREEN ;
2626 StdDraw .setPenColor (colorOfStartAndEndPoints );
2727 createAndSizeStartPoint ();
2828 createAndSizeEndPoint ();
@@ -98,14 +98,14 @@ else if (r == 3 && !visited[x - 1][y])
9898 }
9999 private void renderCorrectSolveDots (int x , int y )
100100 {
101- Color colorOfCorrectSolvePath = StdDraw .BOOK_BLUE ;
101+ Color colorOfCorrectSolvePath = StdDrawColors .BOOK_BLUE ;
102102 StdDraw .setPenColor (colorOfCorrectSolvePath );
103103 drawAndSizeSolvePathPoints (x , y );
104104 StdDraw .show (30 );
105105 }
106106 private void renderIncorrectSolveDots (int x , int y )
107107 {
108- Color colorOfIncorrectSolvePath = StdDraw .LIGHT_GRAY ;
108+ Color colorOfIncorrectSolvePath = StdDrawColors .LIGHT_GRAY ;
109109 StdDraw .setPenColor (colorOfIncorrectSolvePath );
110110 drawAndSizeSolvePathPoints (x , y );
111111 StdDraw .show (30 );
@@ -124,7 +124,7 @@ private void createAndSizeStartPoint()
124124 }
125125 private void drawAndColorMazeWalls ()
126126 {
127- Color colorOfMazeWalls = StdDraw .DARK_GRAY ;
127+ Color colorOfMazeWalls = StdDrawColors .DARK_GRAY ;
128128 StdDraw .setPenColor (colorOfMazeWalls );
129129 drawMazeWalls ();
130130 }
0 commit comments