Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Walking(boolean Reverse) {
- PathToBank = walking.newTilePath(ToBankPath);
- if (!Reverse) {
- while (calc.distanceTo(PathToBank.getEnd()) >= 4) {
- PathToBank.traverse();
- while (calc.distanceTo(walking.getDestination()) >= 6) {
- sleep(100);
- }
- }
- } else {
- PathToBank.reverse();
- while (calc.distanceTo(PathToBank.getEnd()) >= 4) {
- PathToBank.traverse();
- while (calc.distanceTo(walking.getDestination()) >= 6) {
- sleep(100);
- }
- }
- }
- }
- Walking(true); //voor mij naar Fish Spot lopen
- Walking(false); //voor mij naar Bank lopen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement