@Override
    public void reset () {
        for (int i = 0; i < width; i++) {
            for (int j = 0; j < height; j++) {
                if (field[i][j] instanceof EmptyCell) {
                    field[i][j] = new EmptyCell();
                }
            }
        }

        openedCells.clear();
        isProcess = false;
        isPathFind = false;
        path.clear();
        pathLength = 0;
    }