de.adom.jade.world
Class HugeDungeon

java.lang.Object
  extended by de.adom.jade.kernel.GUIDCarrier
      extended by de.adom.jade.world.Location
          extended by de.adom.jade.world.Dungeon
              extended by 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.Dungeon
createMap, isDungeon, isSettlement, isSurfaceWorld, isWilderness
 
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

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 state
unknownDescription - the description of the dungeon in its unknown state
knownName - the name of the dungeon in its known state
knownDescription - the description of the dungeon in its known state
map - 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 state
unknownDescription - the description of the dungeon in its unknown state
knownName - the name of the dungeon in its known state
knownDescription - the description of the dungeon in its known state
Method Detail

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