|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.Properties.Property
com.planet_ink.coffee_mud.Abilities.Properties.Prop_Trashcan
public class Prop_Trashcan
| Field Summary | |
|---|---|
protected long |
lastAddition
|
protected int |
tickDelay
|
protected SLinkedList<Item> |
trashables
|
| Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Property |
|---|
affected, amDestroyed, empty, miscText, savable |
| Constructor Summary | |
|---|---|
Prop_Trashcan()
|
|
| Method Summary | |
|---|---|
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
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 |
name()
The nice displayable name of this instance of this object |
protected void |
process(Item I)
|
void |
setMiscText(java.lang.String newMiscText)
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
boolean |
tick(Tickable ticking,
int tickID)
this is the method which is called periodically by the threading engine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SLinkedList<Item> trashables
protected int tickDelay
protected volatile long lastAddition
| Constructor Detail |
|---|
public Prop_Trashcan()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class Propertypublic java.lang.String name()
Tickable
name in interface CMObjectname in interface Tickablename in class PropertyEnvironmental.Name()protected int canAffectCode()
Property
canAffectCode in class PropertyAbility
public boolean tick(Tickable ticking,
int tickID)
Tickable
tick in interface Tickabletick in class Propertyticking - a reference to this Tickable objecttickID - the TICKID_ constant describing this periodic call, as defined in Tickable
Tickable,
ServiceEngine,
TickableGrouppublic void setMiscText(java.lang.String newMiscText)
Environmental
setMiscText in interface EnvironmentalsetMiscText in class PropertynewMiscText - either an open internal text string, or XMLprotected void process(Item I)
public void executeMsg(Environmental myHost,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class PropertymyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsg
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||