public class PowercraftTalisman extends IdleScript
Modifier and Type | Field and Description |
---|---|
static ScriptInfo |
info |
paintBuilder, rowBuilder
Constructor and Description |
---|
PowercraftTalisman() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(long time) |
static long |
getRemaining(long time) |
static boolean |
isRunning(long time) |
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.
|
static java.lang.String |
toRemainingString(long time) |
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 static long getRemaining(long time)
public static boolean isRunning(long time)
public static java.lang.String toRemainingString(long time)
public static java.lang.String format(long time)
public void scriptStart()
public void paintInterrupt()
IdleScript
DrawCallback
every game frame. Override this in
your script to paint on the screen.paintInterrupt
in class IdleScript