public class CellBorder extends WorldCoord
Modifier and Type | Class and Description |
---|---|
static class |
CellBorder.Section |
Modifier and Type | Field and Description |
---|---|
boolean[] |
border |
Constructor and Description |
---|
CellBorder(WorldCoord worldCoord,
boolean[] border) |
Modifier and Type | Method and Description |
---|---|
int |
getBlockX() |
int |
getBlockZ() |
boolean[] |
getBorder() |
boolean |
hasAnyBorder() |
boolean |
hasBorderAt(CellBorder.Section s) |
void |
runBorderedOnSurface(int wallHeight,
int cornerHeight,
LocationRunnable runnable) |
void |
setBorderAt(CellBorder.Section s,
boolean b) |
java.lang.String |
toString() |
add, equals, getBukkitWorld, getCoord, getTownBlock, getTownyWorld, getWorld, getWorldName, hashCode, parseWorldCoord, parseWorldCoord, parseWorldCoord
getCellSize, getX, getZ, parseCoord, parseCoord, parseCoord, parseCoord, setCellSize, setX, setZ
public CellBorder(WorldCoord worldCoord, boolean[] border)
public void setBorderAt(CellBorder.Section s, boolean b)
public boolean hasBorderAt(CellBorder.Section s)
public boolean[] getBorder()
public boolean hasAnyBorder()
public int getBlockX()
public int getBlockZ()
public void runBorderedOnSurface(int wallHeight, int cornerHeight, LocationRunnable runnable)
public java.lang.String toString()
toString
in class WorldCoord