public class HerbIdentifier extends IdleScript
Modifier and Type | Field and Description |
---|---|
static ScriptInfo |
info |
paintBuilder, rowBuilder
Constructor and Description |
---|
HerbIdentifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
canIdentifyHerb(int herbId) |
int |
countUnids() |
void |
paintInterrupt()
This will be called by
DrawCallback every game frame. |
void |
questMessageInterrupt(java.lang.String message)
Called by
MessageCallback every time a new quest message is drawn on the
screen. |
int |
start(java.lang.String[] param)
This function is the entry point for the program.
|
chatCommandInterrupt, chatMessageInterrupt, keyPressInterrupt, npcDamagedInterrupt, playerDamagedInterrupt, privateMessageReceivedInterrupt, serverMessageInterrupt, setController, tradeMessageInterrupt
public static final ScriptInfo info
public int countUnids()
public boolean canIdentifyHerb(int herbId)
public int start(java.lang.String[] param)
IdleScript
start
in class IdleScript
param
- an array of String values representing the parameters passed to the functionpublic void questMessageInterrupt(java.lang.String message)
IdleScript
MessageCallback
every time a new quest message is drawn on the
screen. Override this in your script to process these messages.questMessageInterrupt
in class IdleScript
message
- -- variable containing the message.public void paintInterrupt()
IdleScript
DrawCallback
every game frame. Override this in
your script to paint on the screen.paintInterrupt
in class IdleScript