|
|||||||||
| 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.GenInstrument
public class GenInstrument
| Field Summary |
|---|
| Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.GenItem |
|---|
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.MusicalInstrument |
|---|
TYPE_CLARINETS, TYPE_CYMBALS, TYPE_DESC, TYPE_DRUMS, TYPE_FLUTES, TYPE_GUITARS, TYPE_HARMONICAS, TYPE_HARPS, TYPE_HORNS, TYPE_OBOES, TYPE_ORGANS, TYPE_PIANOS, TYPE_TROMBONES, TYPE_TRUMPETS, TYPE_TUBAS, TYPE_VIOLINS, TYPE_WOODS, TYPE_XYLOPHONES |
| 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 | |
|---|---|
GenInstrument()
|
|
| Method Summary | |
|---|---|
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
int |
instrumentType()
|
boolean |
okMessage(Environmental E,
CMMsg msg)
The general message event previewer for the object. |
void |
recoverEnvStats()
This method copies the baseEnvStats() object into the envStats() object, then makes repeated calls to all surrounding objects with affectEnvStats(Environmental,EnvStats) method. |
void |
setInstrumentType(int type)
|
| Methods inherited from class com.planet_ink.coffee_mud.Items.Basic.GenItem |
|---|
getStat, getStatCodes, isGeneric, readableText, sameAs, setMiscText, setReadableText, 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.Items.interfaces.Item |
|---|
amWearingAt, baseGoldValue, canWear, compareProperLocations, container, databaseID, fitsOn, material, numberOfItems, owner, rawLogicalAnd, rawProperLocationBitmap, rawSecretIdentity, rawWornCode, readableText, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setDatabaseID, setMaterial, setOwner, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, setReadableText, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, unWear, usesRemaining, value, wearAt, wearEvenIfImpossible, wearIfPossible, whereCantWear |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Rider |
|---|
riding, setRiding |
| Constructor Detail |
|---|
public GenInstrument()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class GenItempublic void recoverEnvStats()
Environmental
recoverEnvStats in interface EnvironmentalrecoverEnvStats in class StdItemEnvironmental.baseEnvStats(),
Environmental.envStats(),
Environmental.addEffect(Ability),
Behavable.addBehavior(Behavior),
EnvStatspublic int instrumentType()
instrumentType in interface MusicalInstrumentpublic void setInstrumentType(int type)
setInstrumentType in interface MusicalInstrument
public boolean okMessage(Environmental E,
CMMsg msg)
MsgListener
okMessage in interface MsgListenerokMessage in class StdItemE - either the initiator of the event, or the host of this objectmsg - the CMMsg that wants to be executed
CMMsg,
CMMsg.source()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||