The goal being to draw the shortest path. I was thinking of simply drawing little squares/circles inside each DrawingBox being part of the path, rather than drawing a real path where you would have to calculate the positions of neighbors for each box. That might be a future enhancement, though.
Later, we'll have to implement the MVC in order to re-create the path when maze has changed.
The goal being to draw the shortest path. I was thinking of simply drawing little squares/circles inside each DrawingBox being part of the path, rather than drawing a real path where you would have to calculate the positions of neighbors for each box. That might be a future enhancement, though.
Later, we'll have to implement the MVC in order to re-create the path when maze has changed.
regar42
was assigned by antograb2017-12-16 12:22:02 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The goal being to draw the shortest path. I was thinking of simply drawing little squares/circles inside each DrawingBox being part of the path, rather than drawing a real path where you would have to calculate the positions of neighbors for each box. That might be a future enhancement, though.
Later, we'll have to implement the MVC in order to re-create the path when maze has changed.
I was personally thinking of adding a button (anchored south in the BorderLayout) in order to generate it.
Addressed in drawShortestPath.