|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Common.DefaultFaction.DefaultFactionZapFactor
public class DefaultFaction.DefaultFactionZapFactor
| Constructor Summary | |
|---|---|
DefaultFaction.DefaultFactionZapFactor(double gain,
double loss,
java.lang.String mask)
|
|
| Method Summary | |
|---|---|
MaskingLibrary.CompiledZapperMask |
compiledMOBMask()
The compiled mask to tell which mobs to apply this factor to |
double |
gainFactor()
Get the gain factor (0-1) |
double |
lossFactor()
Set the loss factor (0-1) |
java.lang.String |
MOBMask()
The mask to tell which mobs to apply this factor to |
void |
setGainFactor(double val)
Set the gain factor (0-1) |
void |
setLossFactor(double val)
Set the loss factor (0-1) |
void |
setMOBMask(java.lang.String str)
Set the mask to determine which mobs in the players presence will be affected. |
java.lang.String |
toString()
Returns a semicolon-delimited string of the values of this factpr, suitable for using to create a new one later. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFaction.DefaultFactionZapFactor(double gain,
double loss,
java.lang.String mask)
| Method Detail |
|---|
public double gainFactor()
Faction.FactionZapFactor
gainFactor in interface Faction.FactionZapFactorFaction.FactionZapFactor.setGainFactor(double)public void setGainFactor(double val)
Faction.FactionZapFactor
setGainFactor in interface Faction.FactionZapFactorval - the gain factor (0-1)Faction.FactionZapFactor.gainFactor()public double lossFactor()
Faction.FactionZapFactor
lossFactor in interface Faction.FactionZapFactorFaction.FactionZapFactor.setGainFactor(double)public void setLossFactor(double val)
Faction.FactionZapFactor
setLossFactor in interface Faction.FactionZapFactorval - the loss factor (0-1)Faction.FactionZapFactor.gainFactor()public java.lang.String MOBMask()
Faction.FactionZapFactor
MOBMask in interface Faction.FactionZapFactorFaction.FactionZapFactor.setMOBMask(String)public MaskingLibrary.CompiledZapperMask compiledMOBMask()
Faction.FactionZapFactor
compiledMOBMask in interface Faction.FactionZapFactorFaction.FactionZapFactor.setMOBMask(String)public void setMOBMask(java.lang.String str)
Faction.FactionZapFactor
setMOBMask in interface Faction.FactionZapFactorstr - the mask to determine which mobs in the players presence will be affectedMaskingLibrary,
Faction.FactionZapFactor.MOBMask()public java.lang.String toString()
Faction.FactionZapFactor
toString in interface Faction.FactionZapFactortoString in class java.lang.ObjectFaction.addFactor(double,double,String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||