Add maze in Model, then modify UI methods using maze.
This commit is contained in:
1 parent
94f4ab4e5a
commit
892d7e6ff3
7 files changed
+31
-20
No files matched your search
@@ -12,9 +12,9 @@ public abstract class DrawingBox extends JPanel {
|
||||
public DrawingBox(MazeApp mazeApp, Color color) {
|
||||
|
||||
this.mazeApp = mazeApp;
|
||||
this.color = color;
|
||||
this.color = color;
|
||||
|
||||
setBackground(color);
|
||||
setPreferredSize(new Dimension(20,20));
|
||||
setPreferredSize(new Dimension(40,40));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user