Affectable
, Behavable
, java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, GridZones
, ItemCollection
, ItemPossessor
, Modifiable
, MsgListener
, Physical
, PhysicalAgent
, Places
, Room
, StatsAffecting
, Tickable
CaveGrid
, CaveMaze
, DesertGrid
, DesertMaze
, DesertThinGrid
, EndlessOcean
, EndlessSky
, EndlessThinOcean
, EndlessThinSky
, GreatLake
, GreatThinLake
, HillsGrid
, HillsThinGrid
, IndoorUnderWaterColumnGrid
, IndoorUnderWaterGrid
, IndoorUnderWaterThinGrid
, JungleGrid
, JungleThinGrid
, MetalRoomMaze
, MountainsGrid
, MountainsMaze
, MountainsThinGrid
, MountainSurfaceGrid
, MountainSurfaceThinGrid
, OceanGrid
, OceanThinGrid
, PlainsGrid
, PlainsThinGrid
, RoadGrid
, RoadThinGrid
, SewerMaze
, ShoreGrid
, StdGrid
, StdMaze
, StdThinGrid
, StoneGrid
, StoneMaze
, StoneThinGrid
, SwampGrid
, SwampThinGrid
, UnderSaltWaterColumnGrid
, UnderSaltWaterGrid
, UnderSaltWaterMaze
, UnderSaltWaterThinGrid
, UnderWaterColumnGrid
, UnderWaterGrid
, UnderWaterMaze
, UnderWaterThinGrid
, WetCaveGrid
, WetCaveMaze
, Whirlpool
, WoodRoomGrid
, WoodRoomMaze
, WoodRoomThinGrid
, WoodsGrid
, WoodsMaze
, WoodsThinGrid
public interface GridLocale extends Room, GridZones
Modifier and Type | Interface | Description |
---|---|---|
static class |
GridLocale.CrossExit |
class definition for an exit that goes from inside a grid locale child to a place
outside the parent gridlocale room
|
GridZones.XYVector
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move
Room.VariationCode
idConverter
ALL_CLIMATE_MASK, ATMOSPHERE_INHERIT, CLIMASK_COLD, CLIMASK_DRY, CLIMASK_HOT, CLIMASK_INHERIT, CLIMASK_NORMAL, CLIMASK_VOID, CLIMASK_WET, CLIMASK_WINDY, CLIMATE_DESCS, NUM_CLIMATES, placeComparator
DOMAIN_INDOOR_MAP, DOMAIN_INDOORS_AIR, DOMAIN_INDOORS_CAVE, DOMAIN_INDOORS_CAVE_SEAPORT, DOMAIN_INDOORS_DESCS, DOMAIN_INDOORS_MAGIC, DOMAIN_INDOORS_METAL, DOMAIN_INDOORS_SEAPORT, DOMAIN_INDOORS_STONE, DOMAIN_INDOORS_UNDERWATER, DOMAIN_INDOORS_WATERSURFACE, DOMAIN_INDOORS_WOOD, DOMAIN_OUTDOOR_DESCS, DOMAIN_OUTDOOR_MAP, DOMAIN_OUTDOORS_AIR, DOMAIN_OUTDOORS_CITY, DOMAIN_OUTDOORS_DESERT, DOMAIN_OUTDOORS_HILLS, DOMAIN_OUTDOORS_JUNGLE, DOMAIN_OUTDOORS_MOUNTAINS, DOMAIN_OUTDOORS_PLAINS, DOMAIN_OUTDOORS_ROCKS, DOMAIN_OUTDOORS_SEAPORT, DOMAIN_OUTDOORS_SPACEPORT, DOMAIN_OUTDOORS_SWAMP, DOMAIN_OUTDOORS_UNDERWATER, DOMAIN_OUTDOORS_WATERSURFACE, DOMAIN_OUTDOORS_WOODS, FILTER_ROOMONLY, INDOORS
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Modifier and Type | Method | Description |
---|---|---|
void |
addOuterExit(GridLocale.CrossExit x) |
Normally the grid-child rooms can only exit to each other, or to
the same places as the gridlocale host.
|
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.
|
void |
clearGrid(Room bringBackHere) |
Empties the grid-children rooms of all contents, mob and item,
and then destroys the internal grid-children rooms themselves.
|
void |
delOuterExit(GridLocale.CrossExit x) |
Normally the grid-child rooms can only exit to each other, or to
the same places as the gridlocale host.
|
java.util.List<Room> |
getAllRooms() |
Returns a read-only list of grid-child rooms.
|
java.util.List<Room> |
getAllRoomsFilled() |
Returns a read-only list of grid-child rooms, and any skys or seas
attached to them.
|
java.util.Iterator<Room> |
getExistingRooms() |
Returns a read-only iterator over the existing grid-child rooms.
|
java.lang.String |
getGridChildLocaleID() |
Gets the Room ID() for the type of Java room class used to
populate the grid.
|
int |
getGridSize() |
Returns the total number of possible grid-child rooms that
this locale could possibly generate.
|
java.util.Iterator<GridLocale.CrossExit> |
outerExits() |
Normally the grid-child rooms can only exit to each other, or to
the same places as the gridlocale host.
|
Room |
prepareGridLocale(Room fromRoom,
Room toRoom,
int direction) |
Returns the room found in the given direction from the from-room,
where the stand-in room is the to-room.
|
addEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, recoverPhyStats, setBasePhyStats
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
description, displayText, image, isGeneric, L, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
getGridChild, getGridChild, getGridChild, getGridChildCode, getGridChildX, getGridChildY, getRandomGridChild, getRoomXY, getRoomXY, isMyGridChild, setXGridSize, setYGridSize, xGridSize, yGridSize
addItem, delAllItems, delItem, eachItem, findItem, findItem, findItems, findItems, getItem, getRandomItem, isContent, items, numItems
addItem, getContextName, moveItemTo, moveItemTo
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
description, displayText, genericName, name
getAtmosphere, getAtmosphereCode, getClimateType, getClimateTypeCode, setAtmosphere, setClimateType
addInhabitant, bringMobHere, clearSky, delAllInhabitants, delInhabitant, domainType, eachInhabitant, fetchExit, fetchFromMOBRoomFavorsItems, fetchFromMOBRoomFavorsMOBs, fetchFromMOBRoomItemExit, fetchFromRoomFavorExits, fetchFromRoomFavorItems, fetchFromRoomFavorMOBs, fetchInhabitant, fetchInhabitant, fetchInhabitantExact, fetchInhabitants, fetchRandomInhabitant, getArea, getCombatTurnMobIndex, getExitInDir, getGridParent, getMobility, getPairedExit, getRawDoor, getRawExit, getReverseDir, getReverseExit, getRoomInDir, getSky, giveASky, inhabitants, isHere, isInhabitant, itemsRecursive, maxRange, myResource, numInhabitants, numPCInhabitants, pointsPerMove, prepareRoomInDir, rawDoors, recoverRoomStats, resourceChoices, roomID, send, sendOthers, setArea, setCombatTurnMobIndex, setGridParent, setRawDoor, setRawExit, setResource, setRoomID, show, show, show, show, show, showHappens, showHappens, showOthers, showOthers, showSource, showSource, startItemRejuv, thirstPerRound, toggleMobility
affectCharState, affectCharStats, affectPhyStats
getTickStatus, tick
java.lang.String getGridChildLocaleID()
Room prepareGridLocale(Room fromRoom, Room toRoom, int direction)
fromRoom
- the room moving from, also the grid childtoRoom
- the room ostensibly being moved intodirection
- the direction from the from room movingvoid buildGrid()
void clearGrid(Room bringBackHere)
bringBackHere
- a room to teleport *ALL* mobs and items tojava.util.List<Room> getAllRooms()
java.util.List<Room> getAllRoomsFilled()
java.util.Iterator<Room> getExistingRooms()
java.util.Iterator<GridLocale.CrossExit> outerExits()
GridLocale.CrossExit
,
addOuterExit(GridLocale.CrossExit)
,
delOuterExit(GridLocale.CrossExit)
void addOuterExit(GridLocale.CrossExit x)
x
- the new cross ("outer") exitGridLocale.CrossExit
,
outerExits()
,
delOuterExit(GridLocale.CrossExit)
void delOuterExit(GridLocale.CrossExit x)
x
- the existing cross ("outer") exit to deleteGridLocale.CrossExit
,
outerExits()
,
addOuterExit(GridLocale.CrossExit)
int getGridSize()