|
|||||||||
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_PracticeDummy
public class Prop_PracticeDummy
Field Summary | |
---|---|
protected boolean |
unkillable
|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Property |
---|
affected, amDestroyed, empty, miscText, savable |
Constructor Summary | |
---|---|
Prop_PracticeDummy()
|
Method Summary | |
---|---|
java.lang.String |
accountForYourself()
For use by the identify spell, this should return a nice description of any properties incorporated by this effect. |
void |
affectCharState(MOB mob,
CharState affectableMaxState)
This method is called by the recoverCharState() method on other MOB objects. |
void |
affectPhyStats(Physical E,
PhyStats affectableStats)
This method is called by the recoverPhyStats() method on other Environmental objects. |
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
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 |
boolean |
okMessage(Environmental myHost,
CMMsg msg)
The general message event previewer for the object. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean unkillable
Constructor Detail |
---|
public Prop_PracticeDummy()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class Property
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class Property
Environmental.Name()
protected int canAffectCode()
Property
canAffectCode
in class Property
Ability
public java.lang.String accountForYourself()
Ability
accountForYourself
in interface Ability
accountForYourself
in class Property
public void setMiscText(java.lang.String newMiscText)
Environmental
setMiscText
in interface Environmental
setMiscText
in class Property
newMiscText
- either an open internal text string, or XMLpublic void affectCharState(MOB mob, CharState affectableMaxState)
StatsAffecting
affectCharState
in interface StatsAffecting
affectCharState
in class Property
mob
- the host of the CharState object being affectedaffectableMaxState
- the particular CharState object being affectedCharState
,
MOB
,
MOB.baseState()
,
MOB.curState()
,
MOB.recoverMaxState()
public void affectPhyStats(Physical E, PhyStats affectableStats)
StatsAffecting
affectPhyStats
in interface StatsAffecting
affectPhyStats
in class Property
E
- the host of the PhyStats object being affectedaffectableStats
- the particular PhyStats object being affectedPhyStats
,
Environmental
,
Affectable.basePhyStats()
,
Affectable.phyStats()
,
Affectable.recoverPhyStats()
public boolean okMessage(Environmental myHost, CMMsg msg)
MsgListener
okMessage
in interface MsgListener
okMessage
in class Property
myHost
- 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 |