public abstract class Goal extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Goal.Control |
Modifier and Type | Field and Description |
---|---|
private EnumSet<Goal.Control> |
controls |
Constructor and Description |
---|
Goal() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canStart() |
boolean |
canStop() |
EnumSet<Goal.Control> |
getControls() |
void |
setControls(EnumSet<Goal.Control> controls) |
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
void |
tick() |
String |
toString() |
private final EnumSet<Goal.Control> controls
public abstract boolean canStart()
public boolean shouldContinue()
public boolean canStop()
public void start()
public void stop()
public void tick()
public void setControls(EnumSet<Goal.Control> controls)
public EnumSet<Goal.Control> getControls()