Class Square
java.lang.Object
zombie.pathfind.Square
-
Method Summary
Modifier and TypeMethodDescriptionfloatgetSlopedSurfaceHeight(float dx, float dy) floatfloatfloatintgetX()intgetY()intgetZ()booleanhas(int bit) booleanhasIdenticalSlopedSurface(Square other) booleanbooleanhasSlopedSurfaceBottom(IsoDirections slopeDir) booleanbooleanbooleanisInside(int x1, int y1, int x2, int y2) booleanbooleanbooleanbooleanbooleanbooleanbooleantestPathFindAdjacent(PMMover mover, int dx, int dy, int dz) boolean
-
Method Details
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
has
public boolean has(int bit) -
TreatAsSolidFloor
public boolean TreatAsSolidFloor() -
isReallySolid
public boolean isReallySolid() -
isUnblockedWindowN
public boolean isUnblockedWindowN() -
isUnblockedWindowW
public boolean isUnblockedWindowW() -
getAdjacentSquare
-
isInside
public boolean isInside(int x1, int y1, int x2, int y2) -
testPathFindAdjacent
-
hasTransitionToLevelAbove
-
hasSlopedSurface
public boolean hasSlopedSurface() -
getSlopedSurfaceDirection
-
getSlopedSurfaceHeightMin
public float getSlopedSurfaceHeightMin() -
getSlopedSurfaceHeightMax
public float getSlopedSurfaceHeightMax() -
hasIdenticalSlopedSurface
-
isSlopedSurfaceDirectionVertical
public boolean isSlopedSurfaceDirectionVertical() -
isSlopedSurfaceDirectionHorizontal
public boolean isSlopedSurfaceDirectionHorizontal() -
getSlopedSurfaceHeight
public float getSlopedSurfaceHeight(float dx, float dy) -
getSlopedSurfaceHeight
-
isSlopedSurfaceEdgeBlocked
-
hasSlopedSurfaceToLevelAbove
-
hasSlopedSurfaceBottom
-