Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. LinkedList<Position> path = new LinkedList<Position>();
  2. path.add(myPosition()); path.add(startPos);
  3. WalkingEvent w = new WalkingEvent();
  4. w.setPath(path);
  5. w.setMinDistanceThreshold(0);
  6. w.setEnergyThreshold(18);
  7. w.setMiniMapDistanceThreshold(6);
  8. w.setOperateCamera(false);
  9. w.setBreakCondition(new Condition() {
  10. @Override
  11. public boolean evaluate() {
  12. return false;
  13. }
  14. });
  15. w.execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement