/** * The printMark method changes contents of the MazeCell to '#' here invoked Queue is shortest * path. */ public void printMark(MazeCell pathCell) { pathCell.hash(); while (pathCell.getParent() != null) { pathCell = pathCell.getParent(); pathCell.hash(); } }