-
-
Save Hadyn/94c983bffaab1cf10316 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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