|
||||||||||
| 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.WorldMap
Creates the central world map for the game. This map is in so far unique as each game contains only one of its type. As the creation of the main world requires quite a bit of time, the creation process will be reflected on the initial splash screen.
| Field Summary |
|---|
| Fields inherited from interface de.adom.jade.startup.StartupConstants |
|---|
PL_BASIC_MAP_FINISHED, PL_DESERTS_FINISHED, PL_DUNGEONS_FINISHED, PL_GENESIS_DATA_CLEANED_UP, PL_GENESIS_DATA_CREATED, PL_MAXIMUM, PL_PRE_UI_INITIALIZATION, PL_RIVERS_FINISHED, PL_SEISMIC_ACTIVITY_FINISHED, PL_SETTLEMENTS_FINISHED, PL_SWAMPS_FINISHED, PL_WORD_FORMS_FINISHED, PL_WORLD_MAP_FINISHED |
| Constructor Summary | |
|---|---|
WorldMap(SplashScreen splashScreen,
Location location,
int width,
int height)
Creates a new world 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.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 WorldMap(SplashScreen splashScreen,
Location location,
int width,
int height)
splashScreen - the splash screen for the creation
messageslocation - the location to which this map belongswidth - the width of the world mapheight - the height of the world map| Method Detail |
|---|
public int getSightRange(Being being)
getSightRange in class Mapbeing - the being
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||