|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrle.core.vm.PlugInBase
rle.simple.board.BoardBuilder
public class BoardBuilder
Provides board creation capabilities.
| Field Summary | |
|---|---|
protected Board |
board
|
protected CreationContext |
cc
|
| Fields inherited from class rle.core.vm.PlugInBase |
|---|
config, context, parameters |
| Constructor Summary | |
|---|---|
BoardBuilder()
|
|
| Method Summary | |
|---|---|
void |
buildBoard(CreationContext cc,
Board board)
Build up a board. |
void |
placeCreature(Creature c)
Place a creature somewhere legal. |
protected void |
placeItem(Item item)
Place an item somewhere legal. |
protected void |
placeRandomItem()
Pick a random item and place it somewhere. |
protected void |
placeRandomMonster()
Pick a random monster and place it somewhere. |
| Methods inherited from class rle.core.vm.PlugInBase |
|---|
config, getContext, getParameters, paramMap, setConfig, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Board board
protected CreationContext cc
| Constructor Detail |
|---|
public BoardBuilder()
| Method Detail |
|---|
public void buildBoard(CreationContext cc,
Board board)
protected void placeRandomMonster()
protected void placeRandomItem()
protected void placeItem(Item item)
item - public void placeCreature(Creature c)
c -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||