com.planet_ink.coffee_mud.Libraries.layouts
Class BoxCityLayout

java.lang.Object
  extended by com.planet_ink.coffee_mud.Libraries.layouts.AbstractLayout
      extended by com.planet_ink.coffee_mud.Libraries.layouts.BoxCityLayout
All Implemented Interfaces:
AreaGenerationLibrary.LayoutManager
Direct Known Subclasses:
BoxCitySquareLayout

public class BoxCityLayout
extends AbstractLayout


Constructor Summary
BoxCityLayout()
           
 
Method Summary
 boolean fillMaze(LayoutSet lSet, AreaGenerationLibrary.LayoutNode p, int dir)
           
 java.util.Vector<AreaGenerationLibrary.LayoutNode> generate(int num, int dir)
           
 void halfLineE(LayoutSet lSet, int startY, int endY, int width, java.util.TreeSet<java.lang.Integer> yposUsed)
           
 void halfLineN(LayoutSet lSet, int startX, int endX, int height, java.util.TreeSet<java.lang.Integer> xposUsed)
           
 java.lang.String name()
           
 
Methods inherited from class com.planet_ink.coffee_mud.Libraries.layouts.AbstractLayout
diff, getDirection, getRunDirection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxCityLayout

public BoxCityLayout()
Method Detail

name

public java.lang.String name()
Specified by:
name in interface AreaGenerationLibrary.LayoutManager
Specified by:
name in class AbstractLayout

halfLineN

public void halfLineN(LayoutSet lSet,
                      int startX,
                      int endX,
                      int height,
                      java.util.TreeSet<java.lang.Integer> xposUsed)

halfLineE

public void halfLineE(LayoutSet lSet,
                      int startY,
                      int endY,
                      int width,
                      java.util.TreeSet<java.lang.Integer> yposUsed)

fillMaze

public boolean fillMaze(LayoutSet lSet,
                        AreaGenerationLibrary.LayoutNode p,
                        int dir)

generate

public java.util.Vector<AreaGenerationLibrary.LayoutNode> generate(int num,
                                                                   int dir)
Specified by:
generate in interface AreaGenerationLibrary.LayoutManager
Specified by:
generate in class AbstractLayout