regar42
1e934b05e6
Fix paintShortestPath and move it into MazeDrawing
...
model:
* Add getShortest() to MazeAppModel, which returns the list of vertexes
on the shortest path from departure to arrival
ui:
* Move paintShortestPath from MazeApp to MazeDrawing
* Fix a bug in paintShortestPath where a switch between width and height
caused ellipses to be mislocated (probably still the same confusion
between the x and y axes)
2017-12-24 19:09:14 +01:00
regar42
b5eb6b0b8c
Move paintShortestPath from model to ui
2017-12-23 22:31:56 +01:00
antograb
7d5b2938fc
Add loading options in JMenuBar
...
Need to fix bug when loading new maze
with different dimensions
2017-12-17 20:27:55 +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
bac9b54d58
Fixing lines and spaces and restoring labyOutput
2017-12-16 17:41:02 +01:00
antograb
f8623fdd7a
Add Observer and Observable implementation
...
Add update method, notifyForUpdates methods
Currently not working
2017-12-16 14:51:39 +01:00
antograb
892d7e6ff3
Add maze in Model, then modify UI methods using maze.
2017-12-14 09:54:46 +01:00
antograb
94f4ab4e5a
Add grid layout for the maze
...
Still have to add the maze to MazeAppModel and delete reference in ui
classes
2017-12-13 10:11:20 +01:00
antograb
0e398a7b57
Add UI package and JMenuBar
2017-12-11 11:42:01 +01:00