|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.kernel.GUIDCarrier
de.adom.jade.world.Location
de.adom.jade.world.Dungeon
Implements a dungeon meta structure.
| Constructor Summary | |
|---|---|
Dungeon(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription)
Creates a new dungeon. |
|
Dungeon(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription,
Map map)
Creates a new dungeon. |
|
| Method Summary | |
|---|---|
protected Map |
createMap()
Creates a new map for this specific location. |
protected int |
getHeight()
Returns the height for a given dungeon. |
protected int |
getWidth()
Returns the width for a given dungeon. |
boolean |
isDungeon()
Determines whether the current location is a dungeon. |
boolean |
isSettlement()
Determines whether the current location is a settlement. |
boolean |
isSurfaceWorld()
Determines whether the current location is the surface world area. |
boolean |
isWilderness()
Determines whether the current location is a wilderness area. |
| Methods inherited from class de.adom.jade.world.Location |
|---|
addConnection, getActorQueue, getComplex, getComplexID, getConnectionAt, getConnectionByID, getConnectionPositions, getConnections, getDescription, getLevel, getLogicalName, getMap, getName, getTickCounter, isKnown, setComplex, setKnown, setMap, updateTicks |
| Methods inherited from class de.adom.jade.kernel.GUIDCarrier |
|---|
getGUID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dungeon(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription)
unknownName - the name of the dungeon in its unknown stateunknownDescription - the description of the dungeon in its unknown stateknownName - the name of the dungeon in its known stateknownDescription - the description of the dungeon in its known statemap - the map of the dungeon
public Dungeon(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription,
Map map)
unknownName - the name of the dungeon in its unknown stateunknownDescription - the description of the dungeon in its unknown stateknownName - the name of the dungeon in its known stateknownDescription - the description of the dungeon in its known state| Method Detail |
|---|
public boolean isDungeon()
Location
isDungeon in class LocationLocation.isDungeon()public boolean isSettlement()
Location
isSettlement in class LocationLocation.isSettlement()public boolean isWilderness()
Location
isWilderness in class LocationLocation.isWilderness()public boolean isSurfaceWorld()
Location
isSurfaceWorld in class LocationLocation.isSurfaceWorld()protected Map createMap()
Location
createMap in class LocationLocation.createMap()protected int getWidth()
protected int getHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||