public class FoulRunecraft extends IdleScript
Modifier and Type | Field and Description |
---|---|
static Controller |
c |
static ScriptInfo |
info |
paintBuilder, rowBuilder
Constructor and Description |
---|
FoulRunecraft() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calculateTime(long millis) |
void |
paintInterrupt()
This will be called by
DrawCallback every game frame. |
int |
perHour(long start,
int amount) |
int |
start(java.lang.String[] parameters)
This function is the entry point for the program.
|
int |
ticks(int amount) |
chatCommandInterrupt, chatMessageInterrupt, keyPressInterrupt, npcDamagedInterrupt, playerDamagedInterrupt, privateMessageReceivedInterrupt, questMessageInterrupt, serverMessageInterrupt, setController, tradeMessageInterrupt
public static final Controller c
public static final ScriptInfo info
public int start(java.lang.String[] parameters)
IdleScript
start
in class IdleScript
parameters
- an array of String values representing the parameters passed to the functionpublic void paintInterrupt()
IdleScript
DrawCallback
every game frame. Override this in
your script to paint on the screen.paintInterrupt
in class IdleScript
public int ticks(int amount)
public int perHour(long start, int amount)
public java.lang.String calculateTime(long millis)