com.planet_ink.coffee_mud.WebMacros.grinder
Class GrinderMap

java.lang.Object
  extended by com.planet_ink.coffee_mud.WebMacros.grinder.GrinderFlatMap
      extended by com.planet_ink.coffee_mud.WebMacros.grinder.GrinderMap

public class GrinderMap
extends GrinderFlatMap


Field Summary
protected  int maxZ
           
protected  int minZ
           
protected  int zFix
           
 
Fields inherited from class com.planet_ink.coffee_mud.WebMacros.grinder.GrinderFlatMap
area, areaMap, boundsXYXY, CLUSTERSIZE, debug, hashRooms, Xbound, Xstart, Ybound, Ystart
 
Constructor Summary
GrinderMap()
           
GrinderMap(Area A, int[] xyxy)
           
 
Method Summary
protected  void findEmptyCluster(java.util.Hashtable processed, java.util.Vector XYZ)
           
 java.lang.StringBuffer getHTMLMap(ExternalHTTPRequests httpReq)
           
 java.lang.StringBuffer getHTMLMap(ExternalHTTPRequests httpReq, int roomSize)
           
 java.lang.StringBuffer getHTMLTable(ExternalHTTPRequests httpReq)
           
protected  GrinderRoom getProcessedRoomAt(java.util.Hashtable 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.Hashtable processed, int x, int y, int z)
           
 void placeRoom(GrinderRoom room, int favoredX, int favoredY, java.util.Hashtable processed, boolean doNotDefer, boolean passTwo, int depth, int zLevel)
           
 void placeRooms()
           
 void rebuildGrid()
           
 void rePlaceRooms()
           
 
Methods inherited from class com.planet_ink.coffee_mud.WebMacros.grinder.GrinderFlatMap
anythingThatDirection, clusterSet, findRelGridDir, getDistanceFrom, getDoorLabelGif, newXY, placeRoomsII, roomColorStyle, scoreRoom, scoreRoomII
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minZ

protected int minZ

maxZ

protected int maxZ

zFix

protected int zFix
Constructor Detail

GrinderMap

public GrinderMap()

GrinderMap

public GrinderMap(Area A,
                  int[] xyxy)
Method Detail

rePlaceRooms

public void rePlaceRooms()
Overrides:
rePlaceRooms in class GrinderFlatMap

rebuildGrid

public void rebuildGrid()
Overrides:
rebuildGrid in class GrinderFlatMap

getProcessedRoomAt

protected GrinderRoom getProcessedRoomAt(java.util.Hashtable processed,
                                         int x,
                                         int y,
                                         int z)

getRoom

public GrinderRoom getRoom(java.lang.String ID)
Overrides:
getRoom in class GrinderFlatMap

isEmptyCluster

protected boolean isEmptyCluster(java.util.Hashtable processed,
                                 int x,
                                 int y,
                                 int z)

findEmptyCluster

protected void findEmptyCluster(java.util.Hashtable processed,
                                java.util.Vector XYZ)

placeRooms

public void placeRooms()
Overrides:
placeRooms in class GrinderFlatMap

getHTMLTable

public java.lang.StringBuffer getHTMLTable(ExternalHTTPRequests httpReq)
Overrides:
getHTMLTable in class GrinderFlatMap

getHTMLMap

public java.lang.StringBuffer getHTMLMap(ExternalHTTPRequests httpReq)
Overrides:
getHTMLMap in class GrinderFlatMap

getHTMLMap

public java.lang.StringBuffer getHTMLMap(ExternalHTTPRequests httpReq,
                                         int roomSize)
Overrides:
getHTMLMap in class GrinderFlatMap

getRoomInDir

protected GrinderRoom getRoomInDir(GrinderRoom room,
                                   int d)
Overrides:
getRoomInDir in class GrinderFlatMap

placeRoom

public void placeRoom(GrinderRoom room,
                      int favoredX,
                      int favoredY,
                      java.util.Hashtable processed,
                      boolean doNotDefer,
                      boolean passTwo,
                      int depth,
                      int zLevel)