|
|||||||||
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.ApartmentLayout
public class ApartmentLayout
Constructor Summary | |
---|---|
ApartmentLayout()
|
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 |
void |
setRunFromDirection(AreaGenerationLibrary.LayoutNode node,
int dir)
|
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 ApartmentLayout()
Method Detail |
---|
public java.lang.String name()
AreaGenerationLibrary.LayoutManager
name
in interface AreaGenerationLibrary.LayoutManager
name
in class AbstractLayout
public void setRunFromDirection(AreaGenerationLibrary.LayoutNode node, int dir)
public java.util.List<AreaGenerationLibrary.LayoutNode> generate(int num, int dir)
AreaGenerationLibrary.LayoutManager
generate
in interface AreaGenerationLibrary.LayoutManager
generate
in class AbstractLayout
num
- 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 |