|
|||||||||
| 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.StdMaze
public class StdMaze
| 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 |
|---|
affects, amDestroyed, baseEnvStats, behaviors, contents, description, displayText, doors, envStats, exits, expirationDate, gridParent, imageName, inhabitants, mobility, myArea, myID, myResource, name, resourceFound, scripts, skyedYet, tickStatus, xtraValues |
| Constructor Summary | |
|---|---|
StdMaze()
|
|
| Method Summary | |
|---|---|
void |
buildGrid()
|
protected void |
buildMaze()
|
protected Room |
findCenterRoom(int dirCode)
|
protected Room |
getGridRoom(int x,
int y)
|
protected int |
getX(int x,
int dirCode)
|
protected int |
getY(int y,
int dirCode)
|
protected boolean |
goodDir(int x,
int y,
int dirCode)
|
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
protected void |
mazify(java.util.Hashtable visited,
int x,
int y)
|
protected Room |
roomDir(int x,
int y,
int dirCode)
|
| Methods inherited from class com.planet_ink.coffee_mud.Locales.StdGrid |
|---|
addOuterExit, alternativeLink, buildFinalLinks, clearGrid, cloneFix, delOuterExit, destroy, fillInTheExtraneousExternals, getAllRooms, getAltRoomFrom, getBuiltGrid, getGridChild, getGridChild, getGridChildCode, getGridChildLocaleID, getGridChildX, getGridChildY, getRandomGridChild, getRoomXY, halfLink, initCenterRoomAdjustsXY, initCenterRoomXY, isMyGridChild, linkRoom, newInstance, okMessage, outerExits, prepareGridLocale, prepareRoomInDir, setDescription, setDisplayText, setXGridSize, setYGridSize, tryFillInExtraneousExternal, xGridSize, yGridSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.Locales.interfaces.Room |
|---|
addInhabitant, addItem, addItemRefuse, bringItemHere, bringMobHere, clearSky, delInhabitant, delItem, domainConditions, domainType, fetchAnyItem, fetchFromMOBRoomFavorsItems, fetchFromMOBRoomItemExit, fetchFromRoomFavorItems, fetchFromRoomFavorMOBs, fetchInhabitant, fetchInhabitant, fetchItem, fetchItem, fetchPCInhabitant, getArea, getContextName, getExitInDir, getGridParent, getMobility, getPairedExit, getRawExit, getReverseExit, getRoomInDir, giveASky, isContent, isHere, isInhabitant, isSameRoom, myResource, numInhabitants, numItems, numPCInhabitants, pointsPerMove, rawDoors, recoverRoomStats, resetVectors, resourceChoices, roomDescription, roomID, roomTitle, send, sendOthers, setArea, 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.Environmental |
|---|
addEffect, addNonUninvokableEffect, amDestroyed, baseEnvStats, delEffect, description, displayText, envStats, expirationDate, fetchEffect, fetchEffect, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, numEffects, rawImage, recoverEnvStats, sameAs, savable, setBaseEnvStats, 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, affectEnvStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
|---|
executeMsg |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMModifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Affectable |
|---|
addEffect, addNonUninvokableEffect, baseEnvStats, delEffect, envStats, fetchEffect, fetchEffect, numEffects, recoverEnvStats, setBaseEnvStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
addEffect, addNonUninvokableEffect, amDestroyed, baseEnvStats, delEffect, description, displayText, envStats, expirationDate, fetchEffect, fetchEffect, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, numEffects, rawImage, recoverEnvStats, sameAs, savable, setBaseEnvStats, 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, affectEnvStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
|---|
executeMsg |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMModifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| Constructor Detail |
|---|
public StdMaze()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdGrid
protected Room getGridRoom(int x,
int y)
getGridRoom in class StdGridprotected Room findCenterRoom(int dirCode)
findCenterRoom in class StdGrid
protected boolean goodDir(int x,
int y,
int dirCode)
protected Room roomDir(int x,
int y,
int dirCode)
protected int getY(int y,
int dirCode)
protected int getX(int x,
int dirCode)
protected void mazify(java.util.Hashtable visited,
int x,
int y)
protected void buildMaze()
public void buildGrid()
buildGrid in interface GridLocalebuildGrid in class StdGrid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||