Path to labyrinthe.txt hardcoded in MazeAppModel #13

Closed
opened 2017-12-16 11:46:12 +00:00 by regar42 · 1 comment
Collaborator

The path to labyrinthe.txt is hardcoded in

private Maze maze = new Maze("data/labyrinthe.txt");
:

private Maze maze = new Maze("data/labyrinthe.txt");

We must NOT do this, since in order to change from where the maze is built, the user would have to change the source code of the project, which is unacceptable.

The path to `labyrinthe.txt` is hardcoded in https://git.regar42.fr/antograb/TpMazeJava/src/commit/892d7e6ff3b45c591e845d21ec40e32ed2219a64/src/model/MazeAppModel.java#L7 : private Maze maze = new Maze("data/labyrinthe.txt"); We must NOT do this, since in order to change from where the maze is built, the user would have to change the source code of the project, which is unacceptable.
regar42 added the bug label 2017-12-16 11:46:12 +00:00
regar42 self-assigned this 2017-12-26 22:16:28 +00:00
Author
Collaborator

Implemented in #23

Implemented in #23
Sign in to join this conversation.
1 Participants
Notifications
Due Date
-
Dependencies

No dependencies set.

Reference: antograb/TpMazeJava#13