|
||||||||||
| 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.World
Implements a world meta structure.
| Constructor Summary | |
|---|---|
World(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription)
Creates a new world. |
|
| Method Summary | |
|---|---|
protected Map |
createMap()
Creates a new map for this specific location. |
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 World(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription)
unknownName - the name of the world in its unknown stateunknownDescription - the description of the world in its unknown stateknownName - the name of the world in its known stateknownDescription - the description of the world in its known statemap - the map of the world| 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||