All pastes #415481 Raw Edit

Stuff

public java v1 · immutable
#415481 ·published 2007-03-29 17:43 UTC
rendered paste body
do {				mousetime = theScript.getInputBot().theInputTread						.timeTillDone();				if (mousetime != -1) {					if (moving) {						int interval = StaticColorMethods.defaultmaxAgeInMillisecs * 2;						updatePoints();						removeRedundantPoints(3);						if (mousetime > interval) {							paintPoints(interval);							Thread.sleep(interval);						}else{							paintPoints((int) mousetime);							Thread.sleep(mousetime);						}						nextPoint = getNext();						if (nextPoint != null) {							XY updatedMovingMouseTo = new XY(nextPoint.x									+ xOffet, nextPoint.y + yOffset);							if (SortMethods.distance(movingMouseTo,									updatedMovingMouseTo) > 5) {								movingMouseTo = updatedMovingMouseTo;								theScript.addOrder(new Order(theScript										.getPrority(), Order.ORDER_MOVE,										movingMouseTo.x, movingMouseTo.y,										Areas.ENTIRE, true));								Thread.sleep(10);							}						}					} else {						paintPoints((int) mousetime);						Thread.sleep(mousetime);					}				}			} while (mousetime > 0);