public class LayoutSet
extends java.lang.Object
Constructor | Description |
---|---|
LayoutSet(java.util.List<AreaGenerationLibrary.LayoutNode> V,
long total) |
Modifier and Type | Method | Description |
---|---|---|
void |
clipLongStreets() |
|
void |
drawABox(int width,
int height) |
|
void |
fillInFlags() |
|
boolean |
fillMaze(AreaGenerationLibrary.LayoutNode p) |
|
java.lang.Long |
getHashCode(long x,
long y) |
|
AreaGenerationLibrary.LayoutNode |
getNextNode(AreaGenerationLibrary.LayoutNode n,
int dir) |
|
AreaGenerationLibrary.LayoutNode |
getNode(long[] xy) |
|
AreaGenerationLibrary.LayoutNode |
getNode(long x,
long y) |
|
boolean |
isUsed(long[] xy) |
|
boolean |
isUsed(long x,
long y) |
|
boolean |
isUsed(AreaGenerationLibrary.LayoutNode n) |
|
long[] |
makeNextCoord(long[] n,
int dir) |
|
AreaGenerationLibrary.LayoutNode |
makeNextNode(AreaGenerationLibrary.LayoutNode n,
int dir) |
|
java.util.List<AreaGenerationLibrary.LayoutNode> |
set() |
|
boolean |
spaceAvailable() |
|
void |
unUse(AreaGenerationLibrary.LayoutNode n) |
|
boolean |
use(AreaGenerationLibrary.LayoutNode n,
AreaGenerationLibrary.LayoutTypes nodeType) |
public LayoutSet(java.util.List<AreaGenerationLibrary.LayoutNode> V, long total)
public java.util.List<AreaGenerationLibrary.LayoutNode> set()
public java.lang.Long getHashCode(long x, long y)
public boolean isUsed(long[] xy)
public boolean isUsed(long x, long y)
public boolean isUsed(AreaGenerationLibrary.LayoutNode n)
public void unUse(AreaGenerationLibrary.LayoutNode n)
public boolean use(AreaGenerationLibrary.LayoutNode n, AreaGenerationLibrary.LayoutTypes nodeType)
public AreaGenerationLibrary.LayoutNode getNode(long[] xy)
public AreaGenerationLibrary.LayoutNode getNode(long x, long y)
public boolean spaceAvailable()
public long[] makeNextCoord(long[] n, int dir)
public AreaGenerationLibrary.LayoutNode makeNextNode(AreaGenerationLibrary.LayoutNode n, int dir)
public AreaGenerationLibrary.LayoutNode getNextNode(AreaGenerationLibrary.LayoutNode n, int dir)
public void drawABox(int width, int height)
public boolean fillMaze(AreaGenerationLibrary.LayoutNode p)
public void clipLongStreets()
public void fillInFlags()