de.adom.jade.world
Class HugeDungeon
java.lang.Object
de.adom.jade.kernel.GUIDCarrier
de.adom.jade.world.Location
de.adom.jade.world.Dungeon
de.adom.jade.world.HugeDungeon
- All Implemented Interfaces:
- java.io.Serializable
- public class HugeDungeon
- extends Dungeon
Implements a huge dungeon meta structure.
- See Also:
- Serialized Form
|
Constructor Summary |
HugeDungeon(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription)
Creates a new huge dungeon. |
HugeDungeon(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 int |
getHeight()
Returns the height for a given dungeon. |
protected int |
getWidth()
Returns the width for a given dungeon. |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HugeDungeon
public HugeDungeon(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription)
- Creates a new huge dungeon. The creation of the actual map is deferred
until the player enters the dungeon for the first time.
- Parameters:
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
HugeDungeon
public HugeDungeon(java.lang.String unknownName,
java.lang.String unknownDescription,
java.lang.String knownName,
java.lang.String knownDescription,
Map map)
- Creates a new dungeon. The creation of the actual map is deferred
until the player enters the dungeon for the first time.
- Parameters:
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
getWidth
protected int getWidth()
- Returns the width for a given dungeon.
- Overrides:
getWidth in class Dungeon
- Returns:
- the width for a given dungeon
getHeight
protected int getHeight()
- Returns the height for a given dungeon.
- Overrides:
getHeight in class Dungeon
- Returns:
- the height for a given dungeon