|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Locales.StdRoom
com.planet_ink.coffee_mud.Locales.StdGrid
com.planet_ink.coffee_mud.Locales.UnderWaterGrid
public class UnderWaterGrid
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Locales.interfaces.GridLocale |
|---|
GridLocale.CrossExit |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Locales.interfaces.Room |
|---|
Room.VariationCode |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
|---|
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Areas.interfaces.GridZones |
|---|
GridZones.XYVector |
| Field Summary |
|---|
| Fields inherited from class com.planet_ink.coffee_mud.Locales.StdGrid |
|---|
descriptions, displayTexts, gridexits, subMap, xsize, ysize |
| Fields inherited from class com.planet_ink.coffee_mud.Locales.StdRoom |
|---|
affectPhyStats, affects, amDestroyed, atmosphere, basePhyStats, behaviors, cachedImageName, climask, combatTurnMobIndex, contents, description, displayText, doors, exits, expirationDate, gridParent, inhabitants, lastResourceTime, me, mobility, myArea, myID, myResource, name, phyStats, rawImageName, roomRecoverMarker, scripts, skyedYet, STDCODES, tickStatus, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.Places |
|---|
ALL_CLIMATE_MASK, ATMOSPHERE_INHERIT, CLIMASK_COLD, CLIMASK_DRY, CLIMASK_HOT, CLIMASK_INHERIT, CLIMASK_NORMAL, CLIMASK_WET, CLIMASK_WINDY, CLIMATE_DESCS, NUM_CLIMATES |
| Constructor Summary | |
|---|---|
UnderWaterGrid()
|
|
| Method Summary | |
|---|---|
void |
affectPhyStats(Physical affected,
PhyStats affectableStats)
This method is called by the recoverPhyStats() method on other Environmental objects. |
protected int |
baseThirst()
|
protected void |
buildFinalLinks()
|
void |
buildGrid()
Called whenever structural changes are made to either the grid room, or one of the adjacent connecting rooms, this method will "rebuild" the grids internal structure as necessary. |
int |
domainType()
Returns the domain-code for this room, which tells you something about its physical makeup, such as whether it is outdoor, if it's in the woods or surrounded by stone, that sort of thing. |
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
protected Room |
findCenterRoom(int dirCode)
|
java.lang.String |
getGridChildLocaleID()
Gets the Room ID() for the type of Java room class used to populate the grid. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
okMessage(Environmental myHost,
CMMsg msg)
The general message event previewer for the object. |
java.util.List<java.lang.Integer> |
resourceChoices()
Returns a list of all resource codes for potentially gatherable resources in this room. |
| Methods inherited from class com.planet_ink.coffee_mud.Locales.StdGrid |
|---|
addOuterExit, alternativeLink, clearGrid, cloneFix, delOuterExit, destroy, fillInTheExtraneousExternals, getAllRooms, getAllRoomsFilled, getAltRoomFrom, getBuiltGrid, getExistingRooms, getGridChild, getGridChild, getGridChild, getGridChildCode, getGridChildX, getGridChildY, getGridRoom, getRandomGridChild, getRoomXY, getRoomXY, getStat, getStatCodes, getStdGridCodeNum, halfLink, initCenterRoomAdjustsXY, initCenterRoomXY, isMyGridChild, linkRoom, newInstance, outerExits, prepareGridLocale, prepareRoomInDir, setDescription, setDisplayText, setStat, setXGridSize, setYGridSize, tryFillInExtraneousExternal, xGridSize, yGridSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.Locales.interfaces.Room |
|---|
addInhabitant, bringMobHere, clearSky, delAllInhabitants, delInhabitant, eachInhabitant, fetchExit, fetchFromMOBRoomFavorsItems, fetchFromMOBRoomFavorsMOBs, fetchFromMOBRoomItemExit, fetchFromRoomFavorExits, fetchFromRoomFavorItems, fetchFromRoomFavorMOBs, fetchInhabitant, fetchInhabitant, fetchInhabitantExact, fetchInhabitants, fetchRandomInhabitant, getArea, getCombatTurnMobIndex, getContextName, getExitInDir, getGridParent, getMobility, getPairedExit, getRawExit, getReverseExit, getRoomInDir, getSky, giveASky, inhabitants, isHere, isInhabitant, maxRange, myResource, numInhabitants, numPCInhabitants, pointsPerMove, rawDoors, recoverRoomStats, roomID, send, sendOthers, setArea, setCombatTurnMobIndex, setGridParent, setRawExit, setResource, setRoomID, show, show, show, show, show, showHappens, showHappens, showOthers, showOthers, showSource, showSource, startItemRejuv, thirstPerRound, toggleMobility |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
|---|
addItem, moveItemTo, moveItemTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemCollection |
|---|
addItem, delAllItems, delItem, eachItem, findItem, findItem, findItems, findItems, getItem, getRandomItem, isContent, items, numItems |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Places |
|---|
getAtmosphere, getAtmosphereCode, getClimateType, getClimateTypeCode, setAtmosphere, setClimateType |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Physical |
|---|
description, displayText, name |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
description, displayText, expirationDate, image, isGeneric, L, minRange, miscTextFormat, Name, rawImage, sameAs, setExpirationDate, setImage, setMiscText, setName, text |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, tick |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
|---|
amDestroyed, isSavable, setSavable |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, initializeClass |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
|---|
getSaveStatIndex, isStat |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Affectable |
|---|
addEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, recoverPhyStats, setBasePhyStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Behavable |
|---|
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts |
| Constructor Detail |
|---|
public UnderWaterGrid()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdGridpublic int domainType()
Room
domainType in interface RoomdomainType in class StdRoomRoom.INDOORS,
Room.DOMAIN_INDOORS_CAVE,
Room.DOMAIN_INDOORS_DESCS,
Room.DOMAIN_OUTDOORS_CITY,
Room.DOMAIN_OUTDOOR_DESCSpublic java.lang.String getGridChildLocaleID()
GridLocale
getGridChildLocaleID in interface GridLocalegetGridChildLocaleID in class StdGridprotected int baseThirst()
baseThirst in class StdRoom
public boolean okMessage(Environmental myHost,
CMMsg msg)
MsgListener
okMessage in interface MsgListenerokMessage in class StdGridmyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that wants to be executed
CMMsg,
CMMsg.source()
public void executeMsg(Environmental myHost,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class StdRoommyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsg
public void affectPhyStats(Physical affected,
PhyStats affectableStats)
StatsAffecting
affectPhyStats in interface StatsAffectingaffectPhyStats in class StdRoomaffected - the host of the PhyStats object being affectedaffectableStats - the particular PhyStats object being affectedPhyStats,
Environmental,
Affectable.basePhyStats(),
Affectable.phyStats(),
Affectable.recoverPhyStats()public java.util.List<java.lang.Integer> resourceChoices()
Room
resourceChoices in interface RoomresourceChoices in class StdRoomRawMaterial,
RawMaterial.CODES,
Room.myResource(),
Room.setResource(int)protected Room findCenterRoom(int dirCode)
findCenterRoom in class StdGridprotected void buildFinalLinks()
buildFinalLinks in class StdGridpublic void buildGrid()
GridLocale
buildGrid in interface GridLocalebuildGrid in class StdGrid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||