regar42
b5eb6b0b8c
Move paintShortestPath from model to ui
2017-12-23 22:31:56 +01:00
regar42
987fb858e4
Use proper dialog type for the "Save Maze" button
...
Instead of using showOpenDialog(), use showSaveDialog()
2017-12-20 01:18:37 +01:00
regar42
53ee6f1565
Add a button to save the maze from the ui
2017-12-19 23:30:12 +01:00
regar42
2a4d852bac
Merge branch 'fixIndexes' of antograb/TpMazeJava into mvc
2017-12-19 22:35:22 +01:00
regar42
79ed877d9d
Merge branch 'boxTypeEdition' into mvc and cleanup
...
* Merge branch 'boxTypeEdition' into mvc
* Remove some useless spaces and blank lines
2017-12-16 20:40:27 +01:00
regar42
083962eec5
Merge branch 'menuBar' into mvc
2017-12-16 18:03:56 +01:00
regar42
bac9b54d58
Fixing lines and spaces and restoring labyOutput
2017-12-16 17:41:02 +01:00
regar42
40c05909e6
Add orange borders to the printed boxes
2017-12-16 13:15:25 +01:00
regar42
b59a8436dd
Merge branch 'fixUnneededCode' into lastDijsktraClasses
2017-12-10 17:48:34 +01:00
regar42
5d75a82103
Merge branch 'javadoc' into lastDijsktraClasses
2017-12-10 15:40:43 +01:00
regar42
4d1d3b39a2
Add documentation and fix Javadoc warnings
...
* Describe the aim of the interfaces
* Explain what are the box inherited from Box
* Fix Javadoc warnings by specifying the parameters and returns of the
methods in the interfaces
2017-12-10 15:27:57 +01:00
regar42
ebb91b01b3
Code cleanup
...
* Remove unwanted getters and setters
* Properly handle object passed to constructors
* Remove redundant condition check on ASet.contains()'s return
* Make Maze.initFromTextFile() private
2017-12-10 00:02:20 +01:00
regar42
eb1e7a8bc0
Sharpen getCost and improve wallbox handling
...
* Rewrite getCost() from Maze to remove unneeded
isWalkable checks on boxes
* Return an empty neighbor list for wall boxes
(in generateNeighbours() from Maze)
2017-12-10 00:02:15 +01:00
regar42
bc1886ca94
Fix rectangle maze generation
...
Switch compteurColonne and compteurLigne
Despite their names, compteurColonne and compteurLigne
respectively represent the x and y coordinates
2017-12-07 10:59:07 +01:00
regar42
f252db5e3d
Merge branch 'IO' of antograb/TpMazeJava into master
2017-12-03 18:19:12 +01:00