public class Goal
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LAYER_TRAVERSL_COST |
Modifier and Type | Method and Description |
---|---|
int |
distanceToGoal(int x,
int y,
int z) |
int |
getFinishPositionStatus()
used by worker for debug, to find out if finish has been overwritten
|
int[] |
getNextStart()
Switches to the next segment to route and returns the corresponding start coordinates
|
int |
getTileCost(int fromX,
int fromY,
int fromZ,
int toX,
int toY,
int toZ) |
boolean |
isFinishPosition(int x,
int y,
int z) |
boolean |
isRoutingComplete() |
boolean |
isTileOK(int fromX,
int fromY,
int fromZ,
int toX,
int toY,
int toZ) |
public static final int LAYER_TRAVERSL_COST
public boolean isTileOK(int fromX, int fromY, int fromZ, int toX, int toY, int toZ)
public int getTileCost(int fromX, int fromY, int fromZ, int toX, int toY, int toZ)
public int distanceToGoal(int x, int y, int z)
public boolean isFinishPosition(int x, int y, int z)
public int getFinishPositionStatus()
public int[] getNextStart()
public boolean isRoutingComplete()