Skip to content

Instantly share code, notes, and snippets.

@Hadyn

Hadyn/Test.java Secret

Created August 28, 2015 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hadyn/94c983bffaab1cf10316 to your computer and use it in GitHub Desktop.
Save Hadyn/94c983bffaab1cf10316 to your computer and use it in GitHub Desktop.
import org.dreambot.api.script.Category;
import org.dreambot.api.script.ScriptManifest;
import org.github.hadyn.api.*;
/**
* @author Hadyn Fitzgerald
*/
@ScriptManifest(category = Category.UTILITY, name = "testSuite", description = "", author = "sini", version = 1.0D)
public class Test extends Script {
class TestStub extends ScriptStub {
@Override
public void init() {}
@Override
public void pulse() {
getMouse().move(random(300), random(500));
getCamera().setYawAsDegrees(random(360));
}
}
public Test() {}
@Override
public void setup() {
setStub(new TestStub());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment