de.adom.jade.world
Class HumanVillage

java.lang.Object
  extended by de.adom.jade.kernel.GUIDCarrier
      extended by de.adom.jade.world.Location
          extended by de.adom.jade.world.Settlement
              extended by de.adom.jade.world.HumanVillage
All Implemented Interfaces:
java.io.Serializable

public class HumanVillage
extends Settlement

Implements a human village.

See Also:
Serialized Form

Constructor Summary
HumanVillage(java.lang.String unknownName, java.lang.String unknownDescription, java.lang.String knownName, java.lang.String knownDescription)
          Creates a new settlement.
 
Method Summary
protected  Map createMap()
          Creates a new map for this specific location.
 
Methods inherited from class de.adom.jade.world.Settlement
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

HumanVillage

public HumanVillage(java.lang.String unknownName,
                    java.lang.String unknownDescription,
                    java.lang.String knownName,
                    java.lang.String knownDescription)
Creates a new settlement. The creation of the actual map is deferred until the player enters the setlement for the first time.

Parameters:
unknownName - the name of the settlement in its unknown state
unknownDescription - the description of the settlement in its unknown state
knownName - the name of the settlement in its known state
knownDescription - the description of the settlementation in its known state
Method Detail

createMap

protected Map createMap()
Description copied from class: Location
Creates a new map for this specific location.

Specified by:
createMap in class Location
Returns:
the newly created map for this location TODO: Make this method abstract so that derived classes can overload it.
See Also:
de.adom.jade.world.createMap()