public static void walk(final Tile... path) {
        if(!Walking.isRunEnabled()) {
            if (Walking.getEnergy() > Random.nextInt(30, 50)) {
                Walking.setRun(true);
                Task.sleep(400, 500);
            }
        }
        for (int i = path.length - 1; i >= 0; i --) {
            if (Calculations.distanceTo(path[i]) >= 15) {
                continue;
            }
            if (Walking.walk(path[i])) {
                break;
            }
        }
    }