public interface IAction
Actions
Modifier and Type | Method and Description |
---|---|
Object |
handler(IBotHack bh)
Retuns null or an event/prompt handler that will be registered just
before executing the action and deregistered when the next action is
chosen.
|
String |
trigger()
Returns the string to write to NetHack to trigger the action.
|
Object handler(IBotHack bh)
String trigger()