java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, Environmental, Expireable, Modifiable, MsgListener, StatsAffecting, TickableGridLocaleCaveGrid, 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, StdGridArea, StdMaze, StdThinGrid, StdThinGridArea, StoneGrid, StoneMaze, StoneThinGrid, SwampGrid, SwampThinGrid, UnderSaltWaterColumnGrid, UnderSaltWaterGrid, UnderSaltWaterMaze, UnderSaltWaterThinGrid, UnderWaterColumnGrid, UnderWaterGrid, UnderWaterMaze, UnderWaterThinGrid, WetCaveGrid, WetCaveMaze, Whirlpool, WoodRoomGrid, WoodRoomMaze, WoodRoomThinGrid, WoodsGrid, WoodsMaze, WoodsThinGridpublic interface GridZones extends Environmental
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
GridZones.XYVector |
A class for holding x/y coordinates.
|
idConverterSTATUS_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 |
|---|---|---|
Room |
getGridChild(int x,
int y) |
Returns the Room object at the given coordinates.
|
Room |
getGridChild(GridZones.XYVector xy) |
Returns the Room object at the given coordinates.
|
Room |
getGridChild(java.lang.String childCode) |
Returns the fully-qualified Room ID of this room
|
java.lang.String |
getGridChildCode(Room loc) |
Returns the fully-qualified Room ID of this room
|
int |
getGridChildX(Room loc) |
Returns the X coordinate of the given Room object
|
int |
getGridChildY(Room loc) |
Returns the Y coordinate of the given Room object
|
Room |
getRandomGridChild() |
Returns a random Room object that is a child of this one.
|
GridZones.XYVector |
getRoomXY(Room room) |
Returns the XY coordinates of the Room, if a child of
this gridzone, in XYVector format.
|
GridZones.XYVector |
getRoomXY(java.lang.String roomID) |
Returns the XY coordinates of the Room with the given roomID
in XYVector format.
|
boolean |
isMyGridChild(Room loc) |
Returns whether the given Room is a child of this
particular Grid instance.
|
void |
setXGridSize(int x) |
Sets the total width of this grid.
|
void |
setYGridSize(int y) |
Sets the total height of this grid.
|
int |
xGridSize() |
Returns the total width of this grid.
|
int |
yGridSize() |
Returns the total height of this grid
|
copyOf, ID, initializeClass, newInstanceamDestroyed, destroy, isSavable, setSavabledescription, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, textexpirationDate, setExpirationDategetSaveStatIndex, getStat, getStatCodes, isStat, setStatexecuteMsg, okMessageaffectCharState, affectCharStats, affectPhyStatsgetTickStatus, name, tickboolean isMyGridChild(Room loc)
loc - a Room objectRoomjava.lang.String getGridChildCode(Room loc)
loc - a Room objectRoom,
getGridChild(String)Room getGridChild(java.lang.String childCode)
childCode - a fully-qualified Room ID for this RoomRoom,
getGridChildCode(Room)Room getRandomGridChild()
Roomint getGridChildX(Room loc)
loc - the Room objectRoomint getGridChildY(Room loc)
loc - the Room objectRoomGridZones.XYVector getRoomXY(java.lang.String roomID)
roomID - the roomID of the room to get coordinates forGridZones.XYVectorGridZones.XYVector getRoomXY(Room room)
room - the room to get coordinates forGridZones.XYVectorint xGridSize()
int yGridSize()
void setXGridSize(int x)
x - the widthvoid setYGridSize(int y)
y - the heightRoom getGridChild(int x, int y)
x - the x coordinatey - the y coordinateRoomRoom getGridChild(GridZones.XYVector xy)
xy - the x and y coordinateRoom,
GridZones.XYVector