public abstract class Task
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
ClientContext |
ctx |
| Constructor and Description |
|---|
Task(ClientContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
condition()
The condition to check before running this task
|
abstract void |
run()
This tasks' main body of code.
|
abstract java.lang.String |
status()
The name of this task's status, used for printing it to the paint
|
public ClientContext ctx
public Task(ClientContext ctx)
public abstract boolean condition()
public abstract void run()
public abstract java.lang.String status()