Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LinkedList<Position> path = new LinkedList<Position>();
- path.add(myPosition()); path.add(startPos);
- WalkingEvent w = new WalkingEvent();
- w.setPath(path);
- w.setMinDistanceThreshold(0);
- w.setEnergyThreshold(18);
- w.setMiniMapDistanceThreshold(6);
- w.setOperateCamera(false);
- w.setBreakCondition(new Condition() {
- @Override
- public boolean evaluate() {
- return false;
- }
- });
- w.execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement