| Modifier and Type | Class | Description | 
|---|---|---|
| class  | CMMap.AreasRoomsEnumerator | |
| class  | CMMap.RoomItemsEnumerator | |
| class  | CMMap.RoomMobsEnumerator | 
WorldMap.LocatedPair| Modifier and Type | Field | Description | 
|---|---|---|
| protected static java.util.Comparator<Area> | areaComparator | |
| protected CMNSortSVec<Area> | areasList | |
| protected java.util.Map<java.lang.String,TimeClock> | clockCache | |
| protected static char[] | cmfsFilenameifyChars | |
| protected CMNSortSVec<Deity> | deitiesList | |
| protected static MOB | deityStandIn | |
| java.util.Map<java.lang.Integer,java.util.List<java.lang.ref.WeakReference<MsgListener>>> | globalHandlers | |
| protected long | lastVReset | |
| CMMsg | resetMsg | |
| protected java.util.Map<java.lang.String,java.lang.Object> | SCRIPT_HOST_SEMAPHORES | |
| java.util.Map<java.lang.String,SLinkedList<WorldMap.LocatedPair>> | scriptHostMap | |
| protected java.util.List<Boardable> | shipList | 
idConverterisDebugging, name, serviceClient, tickStatusSTATUS_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_RESETROOM_EXPIRATION_MILLIS| Constructor | Description | 
|---|---|
| CMMap() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | activate() | Activates the library. | 
| void | addArea(Area newOne) | Adds the given area to the world map list. | 
| protected void | addDeity(Deity newOne) | |
| void | addGlobalHandler(MsgListener E,
                int category) | Add a listener to the Global Alternative message passing system. | 
| protected void | addMapStatFiles(java.util.List<CMFile.CMVFSFile> rootFiles,
               Room R,
               Environmental E,
               CMFile.CMVFSDir root) | |
| protected void | addScriptHost(Area area,
             Room room,
             PhysicalAgent host) | |
| protected void | addShip(Boardable newOne) | |
| Area | areaLocation(CMObject E) | Returns the Area in which the given object exists in, or is
 attached to. | 
| java.util.Enumeration<Area> | areas() | Returns an enumeration of all world map areas. | 
| java.util.Enumeration<Area> | areasPlusShips() | Returns an enumeration of all map areas, including all areas inside
 ships, caravans, etc. | 
| protected void | cleanScriptHosts(SLinkedList<WorldMap.LocatedPair> hosts,
                PhysicalAgent oneToDel,
                boolean fullCleaning) | |
| protected java.lang.String | cmfsFilenameify(java.lang.String str) | |
| java.lang.String | createNewExit(Room from,
             Room room,
             int direction) | Attempts to create a pair of Open exits from the from room to the
 room room. | 
| java.util.Enumeration<Deity> | deities() | Returns an enumeration of all the Deity-derived registered objects
 in the game. | 
| MOB | deity() | Returns the first available deity, creating one from
 scratch if necessary. | 
| void | delArea(Area oneToDel) | Deletes the given area from the world map list. | 
| protected void | delDeity(Deity oneToDel) | |
| void | delGlobalHandler(MsgListener E,
                int category) | Remove a listener from the Global Alternative message passing system. | 
| protected void | delScriptHost(Area area,
             PhysicalAgent oneToDel) | |
| protected void | delShip(Boardable oneToDel) | |
| void | destroyAreaObject(Area A) | Empties all the rooms in the given area, destroys all the
 content, and destroys the area itself, removing it from
 the world map. | 
| void | destroyRoomObject(Room deadRoom) | Removes the given room from the map, clears it, and deletes
 any incoming exits. | 
| void | emptyAreaAndDestroyRooms(Area area) | This method removes any area effects, and then empties and
 destroys every room in the area. | 
| void | emptyRoom(Room room,
         Room toRoom,
         boolean clearPlayers) | Empties the given room of mobs and items, optionally moving stuff to
 another room. | 
| Area | findArea(java.lang.String calledThis) | Given a partial area name, this will return area from the map that
 either matches the string, or partially matches it. | 
| Area | findAreaStartsWith(java.lang.String calledThis) | Given an area name prefix, this will return the area from the map that
 either matches the string, or whose name starts with it. | 
| Room | findConnectingRoom(Room room) | Returns a room that is connected to, and preferably links
 back, to the given room. | 
| Area | findRoomIDArea(java.lang.String roomID) | Given a room ID, this will return the area to which the room it
 matches belongs. | 
| Boardable | findShip(java.lang.String s,
        boolean exactOnly) | Searches the list of existing registered boardables, such as sailing ships,
 space ships, castles, and caravans. | 
| protected PairVector<MOB,java.lang.String> | getAllPlayersHere(Area area,
                 boolean includeLocalFollowers) | |
| java.lang.String | getApproximateExtendedRoomID(Room room) | All proper rooms, rooms savable to the database, have
 a unique room ID. | 
| Area | getArea(java.lang.String calledThis) | Given an area name, this will return the area from the map whose
 name matches this one. | 
| protected java.util.Map<java.lang.String,Area> | getAreaFinder() | |
| Room | getCachedRoom(java.lang.String roomID) | Given a room ID, this will return the room on the map that matches, it. | 
| java.util.Map<java.lang.String,TimeClock> | getClockCache() | Returns the world-wide clock/timezone cache. | 
| Area | getDefaultParentArea() | If the coffeemud.ini file defines a default parent area to which all
 newly created areas should be automatically added, this will return
 that area. | 
| Deity | getDeity(java.lang.String calledThis) | Returns the world deity of the given name, if it exists. | 
| java.lang.String | getDescriptiveExtendedRoomID(Room room) | Similar to the approximate version, this will return a reference
 to the nearest room, along with which direction its in relative
 to the given room. | 
| int | getExitDir(Room from,
          Exit to) | Given a room and an exit, this will return which
 direction code is being used. | 
| java.lang.String | getExtendedRoomID(Room R) | If the given room has a proper room id, this
 will return it. | 
| java.lang.String | getExtendedTwinRoomIDs(Room R1,
                      Room R2) | Returns the extended room IDs of both the given rooms,
 in a deterministic ordering, with an underscore between
 them -- nothing else. | 
| MOB | getFactoryMOB(Room R) | If a mob is needed as a msg host/source, and it doesn't matter the
 name or level, then this is the method for you. | 
| MOB | getFactoryMOBInAnyRoom() | If a mob is needed as a msg host/source, and it doesn't matter the
 name, level, room, or anything, then this is the method for you. | 
| Area | getFirstArea() | Returns the first area in the world map. | 
| protected int | getGlobalIndex(java.util.List<Environmental> list,
              java.lang.String name) | |
| CMFile.CMVFSDir | getMapRoot(CMFile.CMVFSDir root) | Generates a fake VFS file tree for the database game world map. | 
| Area | getModelArea(Area A) | Normally just returns the given area. | 
| Area | getRandomArea() | Returns a random area from the world map. | 
| Room | getRandomRoom() | Returns a random room from a random area on the map. | 
| Room | getRoom(Room room) | Because rooms can expire, but their references remain, this
 method exists to check for a destroyed condition and, if the
 room is destroyed, this will check for a replacement, and
 de-cache it if possible. | 
| Room | getRoom(java.lang.String roomID) | Given a room ID, this will return the room on the map that
 matches this room id. | 
| Room | getRoom(java.util.Enumeration<Room> roomSet,
       java.lang.String roomID) | Enumerates through the given room set, returning the
 room with the given room ID. | 
| protected Room | getRoom(java.util.Enumeration<Room> roomSet,
       java.lang.String roomID,
       boolean cachedOnly) | |
| Room | getRoomAllHosts(java.lang.String roomID) | Given a room ID, this will return the room on the map that matches, it. | 
| int | getRoomDir(Room from,
          Room to) | Given a room and a target room, this will return which
 direction code is being used. | 
| Room | getSafeRoomToMovePropertyTo(Room room,
                           PrivateProperty I) | Returns the parent room of the given private property, if it is a boardable,
 or the given room if not. | 
| protected java.lang.Object | getScriptHostSemaphore(Area area) | |
| Boardable | getShip(java.lang.String calledThis) | Checks the list of existing registered boardables, such as sailing ships,
 space ships, castles, and caravans. | 
| Area | getStartArea(Environmental E) | Attempts to return the start/orig area for the given mob or item
 or room or whatever. | 
| Room | getStartRoom(Environmental E) | Attempts to return the start/orig room for the given mob or item
 or room or whatever. | 
| Area | getTargetArea(Room from,
             Exit to) | Given a room and an exit, this will return which area
 it will lead to. | 
| Room | getTargetRoom(Room from,
             Exit to) | Given a room and an exit, this will return which room
 it will lead to. | 
| boolean | hasASky(Room room) | Returns whether the given room might have a sky, due to
 being outdoors but not being underwater. | 
| java.lang.String | ID() | The CoffeeMud Java Class ID shared by all instances of
 this object. | 
| protected boolean | isAQualifyingScriptHost(PhysicalAgent host) | |
| protected boolean | isAScriptHost(Area area,
             PhysicalAgent host) | |
| protected boolean | isAScriptHost(SLinkedList<WorldMap.LocatedPair> hosts,
             PhysicalAgent host) | |
| boolean | isClearableRoom(Room R) | Sends any mobs or players in the given room to their start room,
 and returns whether any players, private property, or player
 corpses remain. | 
| java.util.Enumeration<Area> | mundaneAreas() | Returns an enumeration of all areas which are not
 also space objects, meaning they are mundane and
 normal game areas. | 
| int | numAreas() | Returns the number of areas on the map list, not including ships or
 other item-internal-areas. | 
| int | numDeities() | |
| int | numRooms() | Returns the sum of all the proper rooms in every area in all the world. | 
| int | numShips() | Returns the number of registered boardables, such as sailing ships,
 space ships, castles, and caravans. | 
| protected void | obliterateArea(Area A,
              boolean includeDB) | |
| void | obliterateMapArea(Area A) | Empties all the rooms in the given area, destroys all the
 content, and destroys the area itself, removing it from
 the world map. | 
| void | obliterateMapRoom(Room deadRoom) | Removes the given room from the map, clears it, and deletes
 any incoming exits. | 
| protected void | obliterateRoom(Room deadRoom,
              java.util.List<Room> linkInRooms,
              boolean includeDB) | |
| void | registerWorldObjectDestroyed(Area area,
                            Room room,
                            CMObject o) | When a map object is permanently destroyed, this method is called
 to give the world map manager a chance to remove tracking for it. | 
| void | registerWorldObjectLoaded(Area area,
                         Room room,
                         CMObject o) | When a map object is permanently added to the map, such as during map
 load, this method is called to give the world map manager a chance
 to keep track of it. | 
| void | renamedArea(Area theA) | Whenever the given area is renamed, this method
 should be called, which will cause the areas to be
 re-sorted, and the area finder cache clear. | 
| void | renameRooms(Area A,
           java.lang.String oldName,
           java.util.List<Room> allMyDamnRooms) | This will take an area that was recently renamed, and an optional list of
 all its existing rooms, and rename the rooms to reflect the new name,
 updating the database along the way. | 
| void | resetArea(Area area) | Resets the given area by resetting all the cached rooms in it. | 
| void | resetRoom(Room room) | Resets the contents of the given room to stock, without clearing grid
 rooms. | 
| void | resetRoom(Room room,
         boolean rebuildGrids) | Resets the contents of the given room to stock, clearing any grids
 if necessary. | 
| java.util.Enumeration<java.lang.String> | roomIDs() | Returns an enumeration of all proper room ids in
 every area in the world. | 
| Room | roomLocation(Environmental E) | Returns the Room in which the given object exists in, or is
 attached to. | 
| void | roomMaintSweep() | |
| java.util.Enumeration<Room> | rooms() | Returns an enumeration of every CACHED proper room in every area, including
 'filled' proper rooms, which also includes ships and similar areas. | 
| java.util.Enumeration<Room> | roomsFilled() | Returns an enumeration of every CACHED room in every area, including
 'filled' rooms, which includes skys and underwater rooms, which
 also includes ships and similar areas. | 
| java.util.Enumeration<WorldMap.LocatedPair> | scriptHosts(Area area) | Returns an enumeration of all objects scripted upon creation
 in the world, or in the given area (non-metro). | 
| boolean | sendGlobalMessage(MOB host,
                 int category,
                 CMMsg msg) | Send a message to all relevant listeners in the Global
 Alternative message passing system. | 
| java.util.Enumeration<Area> | shipAreaEnumerator(Area inA) | |
| java.util.Enumeration<Boardable> | ships() | Returns an enumeration of all registered boardables, such as sailing ships,
 space ships, castles, and caravans. | 
| java.util.Enumeration<Room> | shipsRoomEnumerator(Area inA) | Returns an enumerator of all rooms contained in a registered
 boardable, such as a sailing ship, space ship, castle, or
 caravan, which is also in the given Area. | 
| boolean | shutdown() | Shuts down the library. | 
| boolean | tick(Tickable ticking,
    int tickID) | this is the method which is called periodically by the threading engine. | 
| java.util.Enumeration<Area> | topAreas() | Returns an enumeration of all areas which do NOT have
 any parent areas, thus being the 'top' areas. | 
| java.util.Enumeration<Item> | worldEveryItems() | Returns a JIT enumeration of every CACHED item in every room
 on the map, well as every mob in every room on the map,
 as it presently exists at the time the Next method is
 called. | 
| java.util.Enumeration<MOB> | worldMobs() | Returns a JIT enumeration of every CACHED mob in every room
 on the map, as it presently exists at the time the Next
 method is called. | 
| java.util.Enumeration<Item> | worldRoomItems() | Returns a JIT enumeration of every CACHED item in every room
 on the map, as it presently exists at the time the Next
 method is called. | 
getServiceClient, L, propertiesLoadedcopyOf, initializeClass, name, newInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckDatabase, compareTo, copyOf, getServiceClient, getTickStatus, initializeClass, L, name, newInstance, propertiesLoaded, setThreadStatusprotected static MOB deityStandIn
protected long lastVReset
protected CMNSortSVec<Area> areasList
protected CMNSortSVec<Deity> deitiesList
protected java.util.List<Boardable> shipList
protected java.util.Map<java.lang.String,java.lang.Object> SCRIPT_HOST_SEMAPHORES
protected java.util.Map<java.lang.String,TimeClock> clockCache
protected static final java.util.Comparator<Area> areaComparator
public java.util.Map<java.lang.Integer,java.util.List<java.lang.ref.WeakReference<MsgListener>>> globalHandlers
public java.util.Map<java.lang.String,SLinkedList<WorldMap.LocatedPair>> scriptHostMap
public CMMsg resetMsg
protected static final char[] cmfsFilenameifyChars
public java.lang.String ID()
CMObjectID in interface CMObjectID in class StdLibraryprotected int getGlobalIndex(java.util.List<Environmental> list, java.lang.String name)
public void renamedArea(Area theA)
WorldMaprenamedArea in interface WorldMaptheA - the area that was renamedWorldMap.renameRooms(Area, String, List)public int numAreas()
WorldMapnumAreas in interface WorldMapWorldMap.getArea(String), 
WorldMap.addArea(Area), 
WorldMap.delArea(Area)public void addArea(Area newOne)
WorldMapaddArea in interface WorldMapnewOne - the new area to add to the listWorldMap.getArea(String), 
WorldMap.delArea(Area), 
WorldMap.numAreas()public void delArea(Area oneToDel)
WorldMapdelArea in interface WorldMaponeToDel - the area to removeWorldMap.getArea(String), 
WorldMap.addArea(Area), 
WorldMap.numAreas()public java.util.Map<java.lang.String,TimeClock> getClockCache()
WorldMapgetClockCache in interface WorldMappublic Area getModelArea(Area A)
WorldMapgetModelArea in interface WorldMapA - the area to return the model ofprotected java.util.Map<java.lang.String,Area> getAreaFinder()
public Area getArea(java.lang.String calledThis)
WorldMappublic Area findAreaStartsWith(java.lang.String calledThis)
WorldMapfindAreaStartsWith in interface WorldMapcalledThis - the area name, or area name prefixWorldMap.findArea(String), 
WorldMap.findAreaStartsWith(String), 
WorldMap.getArea(String)public Area findArea(java.lang.String calledThis)
WorldMapfindArea in interface WorldMapcalledThis - the area name, or partial area nameWorldMap.findArea(String), 
WorldMap.findAreaStartsWith(String), 
WorldMap.getArea(String)public java.util.Enumeration<Area> areas()
WorldMapareas in interface WorldMapWorldMap.mundaneAreas(), 
WorldMap.topAreas(), 
WorldMap.areasPlusShips()public java.util.Enumeration<Area> areasPlusShips()
WorldMapareasPlusShips in interface WorldMapWorldMap.areas(), 
WorldMap.mundaneAreas(), 
WorldMap.topAreas()public java.util.Enumeration<Area> mundaneAreas()
WorldMapmundaneAreas in interface WorldMapWorldMap.areas(), 
WorldMap.topAreas(), 
WorldMap.areasPlusShips()public java.util.Enumeration<Area> topAreas()
WorldMaptopAreas in interface WorldMapWorldMap.areas(), 
WorldMap.mundaneAreas(), 
WorldMap.areasPlusShips()public java.util.Enumeration<java.lang.String> roomIDs()
WorldMappublic Area getFirstArea()
WorldMapgetFirstArea in interface WorldMapWorldMap.getRandomArea()public Area getDefaultParentArea()
WorldMapgetDefaultParentArea in interface WorldMappublic Area getRandomArea()
WorldMapgetRandomArea in interface WorldMapWorldMap.getFirstArea()public void addGlobalHandler(MsgListener E, int category)
WorldMapaddGlobalHandler in interface WorldMapE - the message listener for the global messagecategory - the CMMsg TYP code (CMMsgWorldMap.delGlobalHandler(MsgListener, int), 
WorldMap.sendGlobalMessage(MOB, int, CMMsg)public void delGlobalHandler(MsgListener E, int category)
WorldMapdelGlobalHandler in interface WorldMapE - the message listener for the global messagecategory - the CMMsg TYP code (CMMsgWorldMap.addGlobalHandler(MsgListener, int), 
WorldMap.sendGlobalMessage(MOB, int, CMMsg)public MOB deity()
WorldMapdeity in interface WorldMapDeity, 
WorldMap.deities(), 
WorldMap.getDeity(String)public MOB getFactoryMOBInAnyRoom()
WorldMapgetFactoryMOBInAnyRoom in interface WorldMapWorldMap.getFactoryMOB(Room)public MOB getFactoryMOB(Room R)
WorldMapgetFactoryMOB in interface WorldMapR - the room to put the temporary mob inWorldMap.getFactoryMOBInAnyRoom()public java.lang.String createNewExit(Room from, Room room, int direction)
WorldMapcreateNewExit in interface WorldMapfrom - the from roomroom - the to roomdirection - the direction from the from to the room roompublic int numRooms()
WorldMappublic boolean sendGlobalMessage(MOB host, int category, CMMsg msg)
WorldMapsendGlobalMessage in interface WorldMaphost - the host/sender of the messagecategory - the CMMsg TYP code (CMMsgmsg - the actual message to sendWorldMap.addGlobalHandler(MsgListener, int), 
WorldMap.delGlobalHandler(MsgListener, int)public java.lang.String getExtendedRoomID(Room R)
WorldMapgetExtendedRoomID in interface WorldMapR - the room to return a room id forWorldMap.getExtendedRoomID(Room), 
WorldMap.getExtendedTwinRoomIDs(Room, Room), 
WorldMap.getDescriptiveExtendedRoomID(Room), 
WorldMap.getApproximateExtendedRoomID(Room)public java.lang.String getDescriptiveExtendedRoomID(Room room)
WorldMapgetDescriptiveExtendedRoomID in interface WorldMaproom - the room to find a descriptive reference toWorldMap.getExtendedRoomID(Room), 
WorldMap.getExtendedTwinRoomIDs(Room, Room), 
WorldMap.getApproximateExtendedRoomID(Room)public java.lang.String getApproximateExtendedRoomID(Room room)
WorldMapgetApproximateExtendedRoomID in interface WorldMaproom - the room to find the nearest id for.WorldMap.getExtendedRoomID(Room), 
WorldMap.getExtendedTwinRoomIDs(Room, Room), 
WorldMap.getDescriptiveExtendedRoomID(Room)public java.lang.String getExtendedTwinRoomIDs(Room R1, Room R2)
WorldMapgetExtendedTwinRoomIDs in interface WorldMapR1 - the first roomR2 - the second roomWorldMap.getExtendedRoomID(Room), 
WorldMap.getDescriptiveExtendedRoomID(Room), 
WorldMap.getApproximateExtendedRoomID(Room)public Area findRoomIDArea(java.lang.String roomID)
WorldMapfindRoomIDArea in interface WorldMaproomID - the room id to get the area forprotected Room getRoom(java.util.Enumeration<Room> roomSet, java.lang.String roomID, boolean cachedOnly)
public Room getRoom(java.util.Enumeration<Room> roomSet, java.lang.String roomID)
WorldMapgetRoom in interface WorldMaproomSet - an enumeration of rooms to checkroomID - the room ID of the room to getWorldMap.getRoom(Room), 
WorldMap.getRoom(String), 
WorldMap.getCachedRoom(String), 
WorldMap.getRoomAllHosts(String)public Room getRoom(Room room)
WorldMapgetRoom in interface WorldMaproom - the room that may or may not be expiredWorldMap.getRoom(String), 
WorldMap.getRoom(Enumeration, String), 
WorldMap.getCachedRoom(String), 
WorldMap.getRoomAllHosts(String)public Room getRoom(java.lang.String roomID)
WorldMapgetRoom in interface WorldMaproomID - the room id to get the room forWorldMap.getRoom(Room), 
WorldMap.getRoom(Enumeration, String), 
WorldMap.getCachedRoom(String), 
WorldMap.getRoomAllHosts(String)public Room getCachedRoom(java.lang.String roomID)
WorldMapgetCachedRoom in interface WorldMaproomID - the room ID to getWorldMap.getRoom(Room), 
WorldMap.getRoom(String), 
WorldMap.getRoom(Enumeration, String), 
WorldMap.getCachedRoom(String), 
WorldMap.getRoomAllHosts(String)public Room getRoomAllHosts(java.lang.String roomID)
WorldMapgetRoomAllHosts in interface WorldMaproomID - the room ID to getWorldMap.getRoom(Room), 
WorldMap.getRoom(String), 
WorldMap.getRoom(Enumeration, String), 
WorldMap.getCachedRoom(String)public java.util.Enumeration<Room> rooms()
WorldMaprooms in interface WorldMapWorldMap.roomsFilled()public java.util.Enumeration<Room> roomsFilled()
WorldMaproomsFilled in interface WorldMapWorldMap.rooms()public java.util.Enumeration<MOB> worldMobs()
WorldMapworldMobs in interface WorldMapWorldMap.worldEveryItems(), 
WorldMap.worldRoomItems()public java.util.Enumeration<Item> worldRoomItems()
WorldMapworldRoomItems in interface WorldMapWorldMap.worldEveryItems(), 
WorldMap.worldMobs()public java.util.Enumeration<Item> worldEveryItems()
WorldMapworldEveryItems in interface WorldMapWorldMap.worldEveryItems(), 
WorldMap.worldMobs()public Room getRandomRoom()
WorldMapgetRandomRoom in interface WorldMappublic int numDeities()
protected void addDeity(Deity newOne)
protected void delDeity(Deity oneToDel)
public Deity getDeity(java.lang.String calledThis)
WorldMapgetDeity in interface WorldMapcalledThis - the name of the deity to get.Deity, 
WorldMap.deities(), 
WorldMap.deity()public java.util.Enumeration<Deity> deities()
WorldMapdeities in interface WorldMapDeity, 
WorldMap.deity(), 
WorldMap.getDeity(String)public int numShips()
WorldMapnumShips in interface WorldMapWorldMap.getShip(String), 
WorldMap.findShip(String, boolean), 
WorldMap.ships(), 
WorldMap.shipsRoomEnumerator(Area), 
WorldMap.numShips()protected void addShip(Boardable newOne)
protected void delShip(Boardable oneToDel)
public Boardable getShip(java.lang.String calledThis)
WorldMapgetShip in interface WorldMapcalledThis - the name of the boardableWorldMap.findShip(String, boolean), 
WorldMap.ships(), 
WorldMap.shipsRoomEnumerator(Area), 
WorldMap.numShips()public Boardable findShip(java.lang.String s, boolean exactOnly)
WorldMapfindShip in interface WorldMaps - the name searchexactOnly - true for exact matches only, false for substring matchesWorldMap.getShip(String), 
WorldMap.ships(), 
WorldMap.shipsRoomEnumerator(Area), 
WorldMap.numShips()public java.util.Enumeration<Boardable> ships()
WorldMapships in interface WorldMapWorldMap.getShip(String), 
WorldMap.findShip(String, boolean), 
WorldMap.shipsRoomEnumerator(Area), 
WorldMap.numShips()public java.util.Enumeration<Room> shipsRoomEnumerator(Area inA)
WorldMapshipsRoomEnumerator in interface WorldMapinA - the area containing a ship, possiblyWorldMap.getShip(String), 
WorldMap.findShip(String, boolean), 
WorldMap.ships(), 
WorldMap.numShips()public void renameRooms(Area A, java.lang.String oldName, java.util.List<Room> allMyDamnRooms)
WorldMaprenameRooms in interface WorldMapA - the area that WAS renamedoldName - the previous name of the given areaallMyDamnRooms - null, or the list of existing rooms.WorldMap.renamedArea(Area)public int getRoomDir(Room from, Room to)
WorldMapgetRoomDir in interface WorldMapfrom - the initial roomto - the room being targetDirections, 
WorldMap.getTargetArea(Room, Exit), 
WorldMap.getTargetRoom(Room, Exit), 
WorldMap.getExitDir(Room, Exit)public Area getTargetArea(Room from, Exit to)
WorldMapgetTargetArea in interface WorldMapfrom - the initial roomto - the exit being usedWorldMap.getTargetRoom(Room, Exit), 
WorldMap.getRoomDir(Room, Room), 
WorldMap.getExitDir(Room, Exit)public Room getTargetRoom(Room from, Exit to)
WorldMapgetTargetRoom in interface WorldMapfrom - the initial roomto - the exit being usedWorldMap.getTargetArea(Room, Exit), 
WorldMap.getRoomDir(Room, Room), 
WorldMap.getExitDir(Room, Exit)public int getExitDir(Room from, Exit to)
WorldMapgetExitDir in interface WorldMapfrom - the initial roomto - the exit being usedDirections, 
WorldMap.getTargetArea(Room, Exit), 
WorldMap.getTargetRoom(Room, Exit), 
WorldMap.getRoomDir(Room, Room)public Room findConnectingRoom(Room room)
WorldMapfindConnectingRoom in interface WorldMaproom - the room to look at exits frompublic boolean isClearableRoom(Room R)
WorldMapisClearableRoom in interface WorldMapR - the room to clear/check.public void obliterateMapRoom(Room deadRoom)
WorldMapobliterateMapRoom in interface WorldMapdeadRoom - the room to remove from the mapWorldMap.destroyRoomObject(Room), 
WorldMap.obliterateMapArea(Area)public void destroyRoomObject(Room deadRoom)
WorldMapdestroyRoomObject in interface WorldMapdeadRoom - the room to remove from the mapWorldMap.obliterateMapRoom(Room), 
WorldMap.destroyAreaObject(Area)protected void obliterateRoom(Room deadRoom, java.util.List<Room> linkInRooms, boolean includeDB)
public void emptyAreaAndDestroyRooms(Area area)
WorldMapemptyAreaAndDestroyRooms in interface WorldMaparea - the area to emptypublic Room roomLocation(Environmental E)
WorldMaproomLocation in interface WorldMapE - the game object whose room location you are curious aboutpublic Area getStartArea(Environmental E)
WorldMapgetStartArea in interface WorldMapE - the object to get a start area forpublic Room getStartRoom(Environmental E)
WorldMapgetStartRoom in interface WorldMapE - the object to get a start room forpublic Area areaLocation(CMObject E)
WorldMapareaLocation in interface WorldMapE - the game object whose area location you are curious aboutpublic Room getSafeRoomToMovePropertyTo(Room room, PrivateProperty I)
WorldMapgetSafeRoomToMovePropertyTo in interface WorldMaproom - the room that needs moving FROMI - null, or private property that needs movingpublic void emptyRoom(Room room, Room toRoom, boolean clearPlayers)
WorldMappublic void obliterateMapArea(Area A)
WorldMapobliterateMapArea in interface WorldMapA - the area to obliterateWorldMap.destroyAreaObject(Area)public void destroyAreaObject(Area A)
WorldMapdestroyAreaObject in interface WorldMapA - the area to destroyWorldMap.obliterateMapArea(Area)protected void obliterateArea(Area A, boolean includeDB)
public void resetRoom(Room room)
WorldMappublic void resetRoom(Room room, boolean rebuildGrids)
WorldMapprotected PairVector<MOB,java.lang.String> getAllPlayersHere(Area area, boolean includeLocalFollowers)
public void resetArea(Area area)
WorldMappublic boolean hasASky(Room room)
WorldMappublic void registerWorldObjectDestroyed(Area area, Room room, CMObject o)
WorldMapregisterWorldObjectDestroyed in interface WorldMaparea - the area that the object was originally loaded intoroom - the room that the object was originally loaded intoo - the object to de-registerWorldMap.registerWorldObjectLoaded(Area, Room, CMObject)public void registerWorldObjectLoaded(Area area, Room room, CMObject o)
WorldMapregisterWorldObjectLoaded in interface WorldMaparea - the area that the object was loaded intoroom - the room that the object was loaded intoo - the object to register as loadedWorldMap.registerWorldObjectDestroyed(Area, Room, CMObject)protected void cleanScriptHosts(SLinkedList<WorldMap.LocatedPair> hosts, PhysicalAgent oneToDel, boolean fullCleaning)
protected boolean isAQualifyingScriptHost(PhysicalAgent host)
protected boolean isAScriptHost(Area area, PhysicalAgent host)
protected boolean isAScriptHost(SLinkedList<WorldMap.LocatedPair> hosts, PhysicalAgent host)
protected final java.lang.Object getScriptHostSemaphore(Area area)
protected void addScriptHost(Area area, Room room, PhysicalAgent host)
protected void delScriptHost(Area area, PhysicalAgent oneToDel)
public java.util.Enumeration<WorldMap.LocatedPair> scriptHosts(Area area)
WorldMapscriptHosts in interface WorldMaparea - null, or the area to limit returns toWorldMap.LocatedPair.room()public boolean activate()
CMLibraryactivate in interface CMLibraryactivate in class StdLibraryCMLibrary.shutdown()public boolean tick(Tickable ticking, int tickID)
Tickabletick in interface Tickabletick in class StdLibraryticking - a reference to this Tickable objecttickID - the TICKID_ constant describing this periodic call, as defined in TickableTickable, 
ServiceEngine, 
TickableGrouppublic boolean shutdown()
CMLibraryshutdown in interface CMLibraryshutdown in class StdLibraryCMLibrary.activate()public void roomMaintSweep()
protected java.lang.String cmfsFilenameify(java.lang.String str)
protected void addMapStatFiles(java.util.List<CMFile.CMVFSFile> rootFiles, Room R, Environmental E, CMFile.CMVFSDir root)
public CMFile.CMVFSDir getMapRoot(CMFile.CMVFSDir root)
WorldMapgetMapRoot in interface WorldMaproot - the root directory to add the map directory to