|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.world.maps.Map
de.adom.jade.world.maps.OutdoorMap
de.adom.jade.world.maps.SettlementMap
Provides a base map class for all settlements.
| Constructor Summary | |
|---|---|
SettlementMap(Location theLocation,
int theWidth,
int theHeight,
boolean finite)
Builds an outdoor map. |
|
| Method Summary | |
|---|---|
int |
getSightRange(Being being)
Returns the sight range for a given being on this map. |
| Methods inherited from class de.adom.jade.world.maps.OutdoorMap |
|---|
placePool, placeTrees |
| 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, 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 |
|---|
public SettlementMap(Location theLocation,
int theWidth,
int theHeight,
boolean finite)
theLocation - the location to which the map belongstheWidth - 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| Method Detail |
|---|
public int getSightRange(Being being)
Map
getSightRange in class Mapbeing - the being
Sight ranges are enhanced for settlements.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||