public class PrioritizedGoal extends Goal
| コンストラクタと説明 |
|---|
PrioritizedGoal(int priorityIn,
Goal goalIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
Goal |
getGoal()
"Gets the private goal enclosed by this PrioritizedGoal.
|
java.util.EnumSet<Goal.Flag> |
getMutexFlags() |
int |
getPriority() |
int |
hashCode() |
boolean |
isPreemptedBy(PrioritizedGoal other) |
boolean |
isPreemptible() |
boolean |
isRunning() |
void |
resetTask()
Reset the task's internal state.
|
void |
setMutexFlags(java.util.EnumSet<Goal.Flag> flagSet) |
boolean |
shouldContinueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
boolean |
shouldExecute()
Returns whether execution should begin.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
tick()
Keep ticking a continuous task that has already been started
|
public PrioritizedGoal(int priorityIn,
Goal goalIn)
public boolean isPreemptedBy(PrioritizedGoal other)
public boolean shouldExecute()
shouldExecute クラス内 Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting クラス内 Goalpublic boolean isPreemptible()
isPreemptible クラス内 Goalpublic void startExecuting()
startExecuting クラス内 Goalpublic void resetTask()
public void tick()
public void setMutexFlags(java.util.EnumSet<Goal.Flag> flagSet)
setMutexFlags クラス内 Goalpublic java.util.EnumSet<Goal.Flag> getMutexFlags()
getMutexFlags クラス内 Goalpublic boolean isRunning()
public int getPriority()
public Goal getGoal()
public boolean equals(@Nullable
java.lang.Object p_equals_1_)
equals クラス内 java.lang.Objectpublic int hashCode()
hashCode クラス内 java.lang.Object