/** * Set the show solution variable. * * @param b True if the solution should be shown */ public void setShowSolution(boolean b) { showSolution = b; wrapper.invalidate(); }
/** * Set the show map variable. * * @param b True if the map should be shown */ public void setMapMode(boolean b) { mapMode = b; wrapper.invalidate(); }
/** * Set the show maze variable. * * @param b True if the Maze walls should be shown */ public void setShowMaze(boolean b) { showMaze = b; wrapper.invalidate(); }