|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.dungeon.rpgmap.CellPassages
public class CellPassages
| Constructor Summary | |
|---|---|
CellPassages()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
areAllClosed()
Returns true when all the passages are closed. |
Passage |
getLeftward(Direction dir)
Get the leftward passage respect to dir |
Passage |
getPassage(Direction dir)
Get the passage in direction d |
Passage[] |
getPassages()
Get all passages |
Passage |
getRightward(Direction dir)
|
void |
setAll(boolean open)
Set all passages open or closed |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CellPassages()
| Method Detail |
|---|
public void setAll(boolean open)
open - If true set all passages open, else closed.public boolean areAllClosed()
public Passage getPassage(Direction dir)
dir - Direction
public Passage[] getPassages()
public Passage getLeftward(Direction dir)
dir - Direction
public Passage getRightward(Direction dir)
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||