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 |
activate()
The condition to check before running this task
|
abstract void |
execute()
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 activate()
public abstract void execute()
public abstract java.lang.String status()