de.adom.jade.world.maps
Class DungeonMap

java.lang.Object
  extended by de.adom.jade.world.maps.Map
      extended by de.adom.jade.world.maps.UndergroundMap
          extended by de.adom.jade.world.maps.DungeonMap
All Implemented Interfaces:
java.io.Serializable

public class DungeonMap
extends UndergroundMap

Creates a dungeon map.

See Also:
Serialized Form

Constructor Summary
DungeonMap(Location theLocation, int theWidth, int theHeight, boolean finite)
          Creates a new underground map.
 
Method Summary
 
Methods inherited from class de.adom.jade.world.maps.Map
addArea, addMapListener, attach, buildConnections, fireMapUpdated, getAreas, getBeing, getDirectionalXModifier, getDirectionalYModifier, getDistance, getDX, getDY, getHeight, getLocation, getMapView, getOpenBuilderTile, getRandomX, getRandomY, getSightRange, getTile, getVisibilityBlockadeLevel, getWidth, getWrappedX, getWrappedY, isDark, isEmpty, isFinite, isValidPosition, placeAreas, removeBeing, removeMapListener, setBeing, setDark, setPointOfView, setTile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DungeonMap

public DungeonMap(Location theLocation,
                  int theWidth,
                  int theHeight,
                  boolean finite)
Creates a new underground map. All parameters will be taken into account.

Parameters:
theLocation - the location to which the map belongs
theWidth - the width of the map (will be increased if necessary to even it)
theHeight - the height of the map (will be increased if necessary to even it)
finite - a flag indicating whether the map is finite or not