|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrle.core.board.BoardUtil
public class BoardUtil
Provides Board creation utilities.
Constructor Summary | |
---|---|
BoardUtil()
|
Method Summary | |
---|---|
static void |
placeCreature(Board board,
Creature c)
Place a creature somewhere legal. |
static void |
placeItem(Board board,
Item item)
Place an item somewhere legal. |
static RLPoint |
randomFloor(Board board)
Find a random floor space. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoardUtil()
Method Detail |
---|
public static void placeItem(Board board, Item item)
item
- public static RLPoint randomFloor(Board board)
public static void placeCreature(Board board, Creature c)
c
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |