|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Libraries.layouts.AbstractLayout
com.planet_ink.coffee_mud.Libraries.layouts.TreeLayout
public class TreeLayout
| Constructor Summary | |
|---|---|
TreeLayout()
|
|
| Method Summary | |
|---|---|
java.util.List<AreaGenerationLibrary.LayoutNode> |
generate(int num,
int dir)
Generates a list of layout nodes, each of which reprents a single room in the area. |
java.lang.String |
name()
The name of the layout manager |
| 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 |
|---|
public TreeLayout()
| Method Detail |
|---|
public java.lang.String name()
AreaGenerationLibrary.LayoutManager
name in interface AreaGenerationLibrary.LayoutManagername in class AbstractLayout
public java.util.List<AreaGenerationLibrary.LayoutNode> generate(int num,
int dir)
AreaGenerationLibrary.LayoutManager
generate in interface AreaGenerationLibrary.LayoutManagergenerate in class AbstractLayoutnum - the number of nodes to generatedir - the direction of entry into this group of nodes.
AreaGenerationLibrary.LayoutNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||