com.planet_ink.coffee_mud.Libraries.layouts
Class LayoutSet
java.lang.Object
com.planet_ink.coffee_mud.Libraries.layouts.LayoutSet
public class LayoutSet
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutSet
public LayoutSet(java.util.List<AreaGenerationLibrary.LayoutNode> V,
long total)
set
public java.util.List<AreaGenerationLibrary.LayoutNode> set()
getHashCode
public java.lang.Long getHashCode(long x,
long y)
isUsed
public boolean isUsed(long[] xy)
isUsed
public boolean isUsed(long x,
long y)
isUsed
public boolean isUsed(AreaGenerationLibrary.LayoutNode n)
unUse
public void unUse(AreaGenerationLibrary.LayoutNode n)
use
public boolean use(AreaGenerationLibrary.LayoutNode n,
AreaGenerationLibrary.LayoutTypes nodeType)
getNode
public AreaGenerationLibrary.LayoutNode getNode(long[] xy)
getNode
public AreaGenerationLibrary.LayoutNode getNode(long x,
long y)
spaceAvailable
public boolean spaceAvailable()
makeNextCoord
public long[] makeNextCoord(long[] n,
int dir)
makeNextNode
public AreaGenerationLibrary.LayoutNode makeNextNode(AreaGenerationLibrary.LayoutNode n,
int dir)
getNextNode
public AreaGenerationLibrary.LayoutNode getNextNode(AreaGenerationLibrary.LayoutNode n,
int dir)
drawABox
public void drawABox(int width,
int height)
fillMaze
public boolean fillMaze(AreaGenerationLibrary.LayoutNode p)
clipLongStreets
public void clipLongStreets()
fillInFlags
public void fillInFlags()