|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Areas.StdArea
com.planet_ink.coffee_mud.Areas.StdThinArea
public class StdThinArea
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Areas.interfaces.Area |
---|
Area.AreaInstanceChild, Area.CompleteRoomEnumerator, Area.RoomComparator, Area.RoomIDComparator, Area.RoomIDEnumerator, Area.State, Area.Stats |
Field Summary |
---|
Fields inherited from class com.planet_ink.coffee_mud.Areas.StdArea |
---|
affects, amDestroyed, archPath, atmosphere, author, basePhyStats, behaviors, blurbFlags, budget, children, climask, climateObj, currency, derivedAtmo, derivedClimate, derivedTheme, description, devalueRate, empty, emptyStats, expirationDate, flag, ignoreMask, imageName, invResetRate, itemPricingAdjustments, lastPlayerTime, me, metroRoomIDSet, miscText, myClock, name, parents, phyStats, playerLevel, prejudiceFactors, properRoomIDSet, properRooms, scripts, STDAREACODES, subOps, theme, tickStatus, xtraValues |
Fields inherited from interface com.planet_ink.coffee_mud.Areas.interfaces.Area |
---|
FLAG_INSTANCE_CHILD, FLAG_INSTANCE_PARENT, FLAG_THIN, THEME_ALLTHEMES, THEME_BIT_NAMES, THEME_FANTASY, THEME_HEROIC, THEME_INHERIT, THEME_NAMES, THEME_PHRASE, THEME_PHRASE_EXT, THEME_SKILLONLYMASK, THEME_TECHNOLOGY, TIME_PASSIVE_LAPSE |
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 | |
---|---|
StdThinArea()
|
Method Summary | |
---|---|
void |
addProperRoom(Room R)
This method adds a new Room to this area. |
long |
flags()
Return basic attributed flag about the area. |
int[] |
getAreaIStats()
Returns an integer array of statistics about this area based on a snapshot generated the first time it is called. |
java.util.Enumeration<Room> |
getCompleteMap()
This method is the same as getProperMap, except that it will load any Rooms that belong to the area but have not yet been loaded. |
java.util.Enumeration<Room> |
getMetroMap()
Returns an enumerator for all previously loaded rooms that properly belongs to this area AND to any child areas. |
int |
getPercentRoomsCached()
|
java.util.Enumeration<Room> |
getProperMap()
Returns an enumerator for all previously loaded rooms that properly belongs to this area. |
Room |
getProperRoom(java.lang.String roomID)
|
Room |
getRoom(java.lang.String roomID)
Returns a room of the given roomID, if it has already been added by calling addProperRoom. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
isRoom(Room R)
Returns whether the given Room object belongs to this Area, even if the Room object properly has not been loaded yet (due to the area being thin). |
boolean |
isRoom(java.lang.String roomID)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StdThinArea()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdArea
public long flags()
Area
flags
in interface Area
flags
in class StdArea
Area.FLAG_THIN
public void addProperRoom(Room R)
Area
addProperRoom
in interface Area
addProperRoom
in class StdArea
R
- the Room to add.Area.addMetroRoom(Room)
,
Room
public Room getProperRoom(java.lang.String roomID)
public int getPercentRoomsCached()
getPercentRoomsCached
in class StdArea
public int[] getAreaIStats()
Area
getAreaIStats
in interface Area
getAreaIStats
in class StdArea
Area.Stats
public Room getRoom(java.lang.String roomID)
Area
getRoom
in interface Area
getRoom
in class StdArea
roomID
- the roomID of the room to return.
Room
public java.util.Enumeration<Room> getProperMap()
Area
getProperMap
in interface Area
getProperMap
in class StdArea
Area.getCompleteMap()
,
Room
public boolean isRoom(java.lang.String roomID)
public boolean isRoom(Room R)
Area
isRoom
in interface Area
isRoom
in class StdArea
R
- the Room object to check for
Room
public java.util.Enumeration<Room> getCompleteMap()
Area
getCompleteMap
in interface Area
getCompleteMap
in class StdArea
Area.getProperMap()
,
Room
public java.util.Enumeration<Room> getMetroMap()
Area
getMetroMap
in interface Area
getMetroMap
in class StdArea
Room
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |