ui:
* Fix repainting when the path is supposed to be drawn. At any
repainting (window resizing, menu unfolding), the maze was repainted
without the shortest path. We now use the attribute stored in the
model to know whether the path should be drawn or not when we repaint
the panel (see #24)
model:
* Add an attribute to MazeAppModel to keep track of if the path is drawn
or not. For future use to enable/disable the Clear button depending on
if the path is drawn or not
ui:
* Add a "Clear shortest path" button to the Maze menu
* Add a method to clear the path in MazeApp (just trigger a repainting
of the MazeApp, which erase the path, since its not drawn by default)
and update MazeAppModel accordingly
ui:
* Add methods to draw the shortest path from MazeApp, WindowPanel and
MazeDrawing
* Add a Maze menu with a button to draw the shortest path from departure
to arrival
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)