public class FollowGroupLeaderGoal extends Goal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private int |
checkSurroundingDelay |
private SchoolingFishEntity |
fish |
private int |
moveDelay |
| Constructor and Description |
|---|
FollowGroupLeaderGoal(SchoolingFishEntity fish) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
protected int |
getSurroundingSearchDelay(SchoolingFishEntity fish) |
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
void |
tick() |
canStop, getControls, setControls, toStringprivate final SchoolingFishEntity fish
private int moveDelay
private int checkSurroundingDelay
public FollowGroupLeaderGoal(SchoolingFishEntity fish)
protected int getSurroundingSearchDelay(SchoolingFishEntity fish)
public boolean shouldContinue()
shouldContinue in class Goal