All pastes #370277 Raw Edit

Miscellany

public java v1 · immutable
#370277 ·published 2007-02-24 12:49 UTC
rendered paste body
import impsoft.nexus.bots.color.methods.ColorScript;import impsoft.nexus.bots.color.scriptobjects.Timer;public class Taios extends ColorScript {	@Override	public boolean doStart(String cmd, String[] args)			throws InterruptedException {		return true;	}	@Override	public void script() throws InterruptedException {		{			Timer t = new Timer(2000);			for (int i = 0; i < 1000000; i++) {				findColorAt2(10, 10);			}			log("findColorAt2()" + (double) t.timePassed() / 1000000);		}	}	public void findColorAt2(int x, int y) {		getColorBot().theBitMapManger.getBufferedImage(0).getRGB(x, y);	}}