Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean atPlace() {
- if(distanceTo(new RSTile(3162, 3490)) <= 2) {
- return true;
- }
- if (distanceTo(getDestination()) < random(1, 5)) {
- if (!walkTileMM(new RSTile(3162, 3490))) {
- walkTo(new RSTile(3162, 3490));
- } else {
- return false;
- }
- }
- return false;
- }
Add Comment
Please, Sign In to add comment