|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Items.Basic.StdItem
com.planet_ink.coffee_mud.Items.Basic.GenItem
com.planet_ink.coffee_mud.Items.Basic.GenCaged
public class GenCaged
| Field Summary | |
|---|---|
protected byte[] |
readableText
|
| Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.StdItem |
|---|
affects, baseEnvStats, baseGoldValue, behaviors, CODES, databaseID, description, destroyed, displayText, dispossessionTime, envStats, imageName, material, miscText, myContainer, myUses, myWornCode, name, owner, properWornBitmap, riding, scripts, secretIdentity, tickStatus, wornLogicalAnd, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item |
|---|
IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_CODES, WORN_DEPENDENCYGRID, WORN_DESCS, WORN_EARS, WORN_EYES, WORN_FEET, WORN_FLOATING_NEARBY, WORN_HANDS, WORN_HEAD, WORN_HELD, WORN_LEFT_FINGER, WORN_LEFT_WRIST, WORN_LEGS, WORN_MOUTH, WORN_NECK, WORN_ORDER, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WEIGHT_POINTS, WORN_WEIGHTS, WORN_WIELD, WORNREQ_ANY, WORNREQ_UNWORNONLY, WORNREQ_WORNONLY |
| Constructor Summary | |
|---|---|
GenCaged()
|
|
| Method Summary | |
|---|---|
boolean |
cageMe(MOB M)
|
java.lang.String |
cageText()
|
void |
destroy()
Utterly and permanently destroy this object, not only removing it from the map, but causing this object to be collected as garbage by Java. |
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
java.lang.String |
readableText()
If the IS_READABLE flag is set for the envStats().sensesMask() flag on this item, then this method will be consulted as representing any writing on the Item. |
void |
setCageText(java.lang.String text)
|
void |
setReadableText(java.lang.String text)
Changes the text that is written on the item. |
MOB |
unCageMe()
|
| Methods inherited from class com.planet_ink.coffee_mud.Items.Basic.GenItem |
|---|
getStat, getStatCodes, isGeneric, sameAs, setMiscText, setStat, text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
addEffect, addNonUninvokableEffect, amDestroyed, baseEnvStats, delEffect, description, displayText, envStats, expirationDate, fetchEffect, fetchEffect, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, numEffects, rawImage, recoverEnvStats, sameAs, savable, setBaseEnvStats, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, setName, text |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, tick |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats, affectEnvStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
|---|
okMessage |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMModifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Behavable |
|---|
addBehavior, addScript, delBehavior, delScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts |
| Field Detail |
|---|
protected byte[] readableText
| Constructor Detail |
|---|
public GenCaged()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class GenItempublic java.lang.String readableText()
Item
readableText in interface ItemreadableText in class GenItemEnvStatspublic void setReadableText(java.lang.String text)
Item
setReadableText in interface ItemsetReadableText in class GenItemtext - what is written on the item. Empty string means nothing.EnvStatspublic boolean cageMe(MOB M)
cageMe in interface CagedAnimalpublic void destroy()
Environmental
destroy in interface Environmentaldestroy in class StdItem
public void executeMsg(Environmental myHost,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class StdItemmyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsgpublic MOB unCageMe()
unCageMe in interface CagedAnimalpublic java.lang.String cageText()
cageText in interface CagedAnimalpublic void setCageText(java.lang.String text)
setCageText in interface CagedAnimal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||