public abstract class Goal
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Goal.Flag |
Modifier and Type | Field and Description |
---|---|
private java.util.EnumSet<Goal.Flag> |
flags |
Constructor and Description |
---|
Goal() |
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<Goal.Flag> |
getMutexFlags() |
boolean |
isPreemptible() |
void |
resetTask() |
void |
setMutexFlags(java.util.EnumSet<Goal.Flag> flagSet) |
boolean |
shouldContinueExecuting() |
abstract boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
java.lang.String |
toString() |
private final java.util.EnumSet<Goal.Flag> flags
public abstract boolean shouldExecute()
public boolean shouldContinueExecuting()
public boolean isPreemptible()
public void startExecuting()
public void resetTask()
public void tick()
public void setMutexFlags(java.util.EnumSet<Goal.Flag> flagSet)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.EnumSet<Goal.Flag> getMutexFlags()