public class GrinderMap extends GrinderFlatMap
Modifier and Type | Field | Description |
---|---|---|
protected int |
maxZ |
|
protected int |
minZ |
|
protected int |
zFix |
area, areaMap, boundsXYXY, CLUSTERSIZE, debug, hashRooms, Xbound, Xstart, Ybound, Ystart
Constructor | Description |
---|---|
GrinderMap() |
|
GrinderMap(Area A,
int[] xyxy) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
findEmptyCluster(java.util.Map<java.lang.String,GrinderRoom> processed,
java.util.List<java.lang.Integer> XYZ) |
|
java.lang.StringBuffer |
getHTMLMap(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq) |
|
java.lang.StringBuffer |
getHTMLMap(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
int roomSize) |
|
java.lang.StringBuffer |
getHTMLTable(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq) |
|
protected GrinderRoom |
getProcessedRoomAt(java.util.Hashtable<java.lang.String,GrinderRoom> processed,
int x,
int y,
int z) |
|
GrinderRoom |
getRoom(java.lang.String ID) |
|
protected GrinderRoom |
getRoomInDir(GrinderRoom room,
int d) |
|
protected boolean |
isEmptyCluster(java.util.Map<java.lang.String,GrinderRoom> processed,
int x,
int y,
int z) |
|
void |
placeRoom(GrinderRoom room,
int favoredX,
int favoredY,
java.util.Hashtable<java.lang.String,GrinderRoom> processed,
boolean doNotDefer,
boolean passTwo,
int depth,
int zLevel) |
|
void |
placeRooms() |
|
void |
rebuildGrid() |
|
void |
rePlaceRooms() |
anythingThatDirection, buildCluster, clusterSet, findRelGridDir, getDirectionSet, getDistanceFrom, getDoorLabelGif, isUnClusteredRoom, newXY, placeRoomsII, roomColorStyle, scoreRoomII
public GrinderMap()
public GrinderMap(Area A, int[] xyxy)
public void rePlaceRooms()
rePlaceRooms
in class GrinderFlatMap
public void rebuildGrid()
rebuildGrid
in class GrinderFlatMap
protected GrinderRoom getProcessedRoomAt(java.util.Hashtable<java.lang.String,GrinderRoom> processed, int x, int y, int z)
public GrinderRoom getRoom(java.lang.String ID)
getRoom
in class GrinderFlatMap
protected boolean isEmptyCluster(java.util.Map<java.lang.String,GrinderRoom> processed, int x, int y, int z)
protected void findEmptyCluster(java.util.Map<java.lang.String,GrinderRoom> processed, java.util.List<java.lang.Integer> XYZ)
public void placeRooms()
placeRooms
in class GrinderFlatMap
public java.lang.StringBuffer getHTMLTable(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq)
getHTMLTable
in class GrinderFlatMap
public java.lang.StringBuffer getHTMLMap(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq)
getHTMLMap
in class GrinderFlatMap
public java.lang.StringBuffer getHTMLMap(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, int roomSize)
getHTMLMap
in class GrinderFlatMap
protected GrinderRoom getRoomInDir(GrinderRoom room, int d)
getRoomInDir
in class GrinderFlatMap
public void placeRoom(GrinderRoom room, int favoredX, int favoredY, java.util.Hashtable<java.lang.String,GrinderRoom> processed, boolean doNotDefer, boolean passTwo, int depth, int zLevel)