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
@@ -1,6 +1,16 @@
|
||||
package model;
|
||||
|
||||
import maze.Maze;
|
||||
|
||||
public class MazeAppModel {
|
||||
|
||||
|
||||
}
|
||||
private Maze maze = new Maze("data/labyrinthe.txt");
|
||||
|
||||
public void setMaze(Maze maze) {
|
||||
this.maze = maze;
|
||||
}
|
||||
|
||||
public Maze getMaze() {
|
||||
return maze;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user