Affectable
, Behavable
, java.lang.Cloneable
, CloseableLockable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, Modifiable
, MsgListener
, Physical
, PhysicalAgent
, Readable
, StatsAffecting
, Tickable
PrepositionExit
AjarDoor
, ClimbableExit
, Door
, FlyingExit
, GapExit
, Gate
, GenAirLock
, GenBoardable
, GenCaravan
, GenCastle
, GenClanCastle
, GenCurtain
, GenDoor
, GenExit
, GenGrapples
, GenMobilePortal
, GenNavigableBoardable
, GenPortal
, GenSailingShip
, GenSiegableBoardable
, GenSpaceShip
, Grate
, HiddenClosedDoorway
, HiddenWalkway
, Impassable
, LockedDoor
, LockedGate
, NamedRedirectable
, NeedleDoor
, Open
, OpenDescriptable
, OpenNameable
, OpenPrepositional
, PitOpen
, Skyway
, StdBoardable
, StdClosedDoorway
, StdExit
, StdGrapples
, StdLockedDoorway
, StdNavigableBoardable
, StdOpenDoorway
, StdPortal
, StdPortalWrapper
, StdSiegableBoardable
, TrappedDoor
, TrappedLockedDoor
, UnseenWalkway
public interface Exit extends PhysicalAgent, Readable, CloseableLockable
Room
idConverter
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 |
---|---|---|
java.lang.String |
closedText() |
Returns a text description of what this exit looks like when closed.
|
java.lang.String |
closeWord() |
Returns the verb used for describing closing this exit, e.g.
|
java.lang.String |
doorName() |
Returns the short name of this door, e.g.
|
short |
exitUsage(short change) |
Both reads and optionally modifies an internal reference counter for this
exit.
|
Room |
lastRoomUsedFrom(Room fromRoom) |
Returns the very last room from or to which this exit was used.
|
java.lang.String |
openWord() |
Returns the verb used for describing opening this exit, e.g.
|
void |
setExitParams(java.lang.String newDoorName,
java.lang.String newCloseWord,
java.lang.String newOpenWord,
java.lang.String newClosedText) |
Sets various word descriptions used when doing some dynamic manipulations
of this exit.
|
void |
setTemporaryDoorLink(java.lang.String link) |
If this exit represents a route to a room not yet created, but whose room id
is already known, this will set that designated room id.
|
java.lang.String |
temporaryDoorLink() |
If this exit represents a route to a room not yet created, but whose room id
is already known, this will return that designated room id.
|
java.lang.StringBuilder |
viewableText(MOB mob,
Room myRoom) |
Returns the modified and qualified player-viewed description of this exit.
|
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
defaultsClosed, defaultsLocked, hasADoor, hasALock, isLocked, isOpen, keyName, openDelayTicks, setDoorsNLocks, setKeyName, setOpenDelayTicks
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
description, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
description, displayText, genericName, name
isReadable, readableText, setReadable, setReadableText
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
short exitUsage(short change)
change
- 0 to make no change, or a positive or negative numberjava.lang.StringBuilder viewableText(MOB mob, Room myRoom)
mob
- the mob doing the viewingmyRoom
- the room from which the mob sees the exitjava.lang.String doorName()
setExitParams(String, String, String, String)
java.lang.String closeWord()
openWord()
,
CloseableLockable.hasADoor()
,
CloseableLockable.defaultsClosed()
,
setExitParams(String, String, String, String)
java.lang.String openWord()
closeWord()
,
CloseableLockable.hasADoor()
,
CloseableLockable.defaultsClosed()
,
setExitParams(String, String, String, String)
java.lang.String closedText()
CloseableLockable.hasADoor()
,
CloseableLockable.defaultsClosed()
void setExitParams(java.lang.String newDoorName, java.lang.String newCloseWord, java.lang.String newOpenWord, java.lang.String newClosedText)
newDoorName
- short name of this door, e.g. door, gatenewCloseWord
- verb used to close this door, e.g. close, lowernewOpenWord
- verb used to open this door, e.g. open, raisenewClosedText
- description of this exit when in a closed statecloseWord()
,
openWord()
,
doorName()
,
closedText()
java.lang.String temporaryDoorLink()
setTemporaryDoorLink(String)
void setTemporaryDoorLink(java.lang.String link)
link
- the room id of the room that will be linked in latertemporaryDoorLink()