public class ShearSheep extends IdleScript
Modifier and Type | Field and Description |
---|---|
static ScriptInfo |
info |
paintBuilder, rowBuilder
Constructor and Description |
---|
ShearSheep() |
Modifier and Type | Method and Description |
---|---|
void |
paintInterrupt()
This will be called by
DrawCallback every game frame. |
void |
scriptStart() |
int |
start(java.lang.String[] parameters)
This function is the entry point for the program.
|
void |
startWalking(int x,
int y)
Starts walking to the specified coordinates.
|
chatCommandInterrupt, chatMessageInterrupt, keyPressInterrupt, npcDamagedInterrupt, playerDamagedInterrupt, privateMessageReceivedInterrupt, questMessageInterrupt, serverMessageInterrupt, setController, tradeMessageInterrupt
public static final ScriptInfo info
public int start(java.lang.String[] parameters)
start
in class IdleScript
parameters
- an array of String values representing the parameters passed to the functionpublic void startWalking(int x, int y)
x
- the x-coordinate to walk toy
- the y-coordinate to walk topublic void scriptStart()
public void paintInterrupt()
IdleScript
DrawCallback
every game frame. Override this in
your script to paint on the screen.paintInterrupt
in class IdleScript