|
|||||||||
| 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.GenWallpaper
com.planet_ink.coffee_mud.Items.Basic.GenFatWallpaper
public class GenFatWallpaper
| Field Summary | |
|---|---|
protected java.lang.String |
displayText
|
protected long |
expirationDate
|
| Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.GenWallpaper |
|---|
description, destroyed, envStats, name, owner, readableText |
| 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 | |
|---|---|
GenFatWallpaper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
displayText()
Gets the raw string used to show what this object looks like in the room. |
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
long |
expirationDate()
If this object expires, it should have a timestamp saying when it expires, in real time. |
protected int |
getMyCodeNum(java.lang.String code)
|
java.lang.String |
getStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String[] |
getStatCodes()
Returns an array of the string names of those fields which are modifiable on this object at run-time by builders. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
okMessage(Environmental myHost,
CMMsg msg)
The general message event previewer for the object. |
boolean |
sameAs(Environmental E)
Whether this object instance is functionally identical to the object passed in. |
void |
setDisplayText(java.lang.String newText)
Sets the raw string used to show what this object looks like in the room. |
void |
setExpirationDate(long time)
If this object expires, it should have a timestamp saying when it expires, in real time. |
void |
setStat(java.lang.String code,
java.lang.String val)
An alternative means of setting the values of those fields on this object which are modifiable at run-time by builders. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String displayText
protected long expirationDate
| Constructor Detail |
|---|
public GenFatWallpaper()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class GenWallpaperpublic java.lang.String displayText()
Environmental
displayText in interface EnvironmentaldisplayText in class GenWallpaperpublic void setDisplayText(java.lang.String newText)
Environmental
setDisplayText in interface EnvironmentalsetDisplayText in class GenWallpapernewText - the string describing how this object looks in the roompublic long expirationDate()
Environmental
expirationDate in interface EnvironmentalexpirationDate in class GenWallpaperEnvironmental.setExpirationDate(long)public void setExpirationDate(long time)
Environmental
setExpirationDate in interface EnvironmentalsetExpirationDate in class GenWallpapertime - the time stamp when this thing expiresEnvironmental.expirationDate()
public boolean okMessage(Environmental myHost,
CMMsg msg)
MsgListener
okMessage in interface MsgListenerokMessage in class GenWallpapermyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that wants to be executed
CMMsg,
CMMsg.source()
public void executeMsg(Environmental myHost,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class GenWallpapermyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsgpublic java.lang.String[] getStatCodes()
CMModifiable
getStatCodes in interface CMModifiablegetStatCodes in class GenWallpaperCMModifiable.getStat(String),
CMModifiable.setStat(String, String)protected int getMyCodeNum(java.lang.String code)
public java.lang.String getStat(java.lang.String code)
CMModifiable
getStat in interface CMModifiablegetStat in class GenWallpapercode - the name of the field to read.
CMModifiable.getStatCodes()
public void setStat(java.lang.String code,
java.lang.String val)
CMModifiable
setStat in interface CMModifiablesetStat in class GenWallpapercode - the name of the field to setval - the value to set the field toCMModifiable.getStatCodes()public boolean sameAs(Environmental E)
Environmental
sameAs in interface EnvironmentalsameAs in class GenWallpaperE - the object to compare this one to
CMModifiable.getStatCodes(),
CMModifiable.getStat(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||