|
|||||||||
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_StatTrainer
public class Prop_StatTrainer
Field Summary | |
---|---|
protected static int[] |
all25
|
protected boolean |
doAll
|
protected boolean |
noteach
|
protected int[] |
stats
|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Property |
---|
affected, amDestroyed, empty, miscText, savable |
Constructor Summary | |
---|---|
Prop_StatTrainer()
|
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 |
affectCharStats(MOB affectedMOB,
CharStats affectableStats)
This method is called by the recoverCharStats() method on other MOB objects. |
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
CMObject |
copyOf()
Similar to Cloneable.clone(), but does its best to make sure that any internal objects to this class are also copyOfed. |
long |
flags()
Returns a bitmap giving some specific information about the scope and purpose of the skill. |
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 |
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 static final int[] all25
protected int[] stats
protected boolean noteach
protected boolean doAll
Constructor Detail |
---|
public Prop_StatTrainer()
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 CMObject copyOf()
CMObject
copyOf
in interface CMObject
copyOf
in class Property
public java.lang.String accountForYourself()
Ability
accountForYourself
in interface Ability
accountForYourself
in class Property
public long flags()
Ability
flags
in interface Ability
flags
in class Property
Ability
public void affectCharStats(MOB affectedMOB, CharStats affectableStats)
StatsAffecting
affectCharStats
in interface StatsAffecting
affectCharStats
in class Property
affectedMOB
- the host of the CharStats object being affectedaffectableStats
- the particular CharStats object being affectedCharStats
,
MOB
,
MOB.baseCharStats()
,
MOB.charStats()
,
MOB.recoverCharStats()
public void setMiscText(java.lang.String newMiscText)
Environmental
setMiscText
in interface Environmental
setMiscText
in class Property
newMiscText
- either an open internal text string, or XML
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |