Add a button to save the maze from the ui

This commit is contained in:
regar42 committed 2017-12-19 23:30:12 +01:00
1 parent 2a4d852bac
commit 53ee6f1565
3 files changed
+48

No files matched your search

+4
View File
@@ -36,4 +36,8 @@ public class MazeAppModel extends Observable {
public void saveToFile() {
maze.saveToTextFile("data/labyOutput.txt");
}
public void saveToFile(String filename) {
maze.saveToTextFile(filename);
}
}