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, tradeMessageInterruptpublic static final Controller c
public static final ScriptInfo info
public int start(java.lang.String[] parameters)
IdleScriptstart in class IdleScriptparameters - an array of String values representing the parameters passed to the functionpublic void paintInterrupt()
IdleScriptDrawCallback every game frame. Override this in
your script to paint on the screen.paintInterrupt in class IdleScriptpublic int ticks(int amount)
public int perHour(long start,
int amount)
public java.lang.String calculateTime(long millis)