com.planet_ink.coffee_mud.Common
Class DefaultFaction.DefaultFactionReactionItem

java.lang.Object
  extended by com.planet_ink.coffee_mud.Common.DefaultFaction.DefaultFactionReactionItem
All Implemented Interfaces:
Faction.FactionReactionItem
Enclosing class:
DefaultFaction

public class DefaultFaction.DefaultFactionReactionItem
extends java.lang.Object
implements Faction.FactionReactionItem


Constructor Summary
DefaultFaction.DefaultFactionReactionItem()
           
DefaultFaction.DefaultFactionReactionItem(java.lang.String key)
           
 
Method Summary
 MaskingLibrary.CompiledZapperMask compiledPresentMOBMask()
          The compiled mask to tell which mobs to apply this reaction to
 java.lang.String parameters()
          The parameters for the ability/behavior/command above.
 java.lang.String parameters(java.lang.String name)
           
 java.lang.String presentMOBMask()
          The mask to tell which mobs to apply this reaction to
 java.lang.String rangeName()
          The name of the range which determines which folks with this faction get a reaction
 java.lang.String reactionObjectID()
          The ability/behavior/command id.
 void setParameters(java.lang.String str)
          Set the parameters for the ability/behavior/command above.
 void setPresentMOBMask(java.lang.String str)
          Set the mask to determine which mobs in the players presence will be affected.
 void setRangeName(java.lang.String str)
          Set the name of the range which determines which folks with this faction get a reaction
 void setReactionObjectID(java.lang.String str)
          Set the ability/behavior/command id.
 java.lang.String toString()
          Returns a semicolon-delimited string of the values of this reaction, 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

DefaultFaction.DefaultFactionReactionItem

public DefaultFaction.DefaultFactionReactionItem()

DefaultFaction.DefaultFactionReactionItem

public DefaultFaction.DefaultFactionReactionItem(java.lang.String key)
Method Detail

reactionObjectID

public java.lang.String reactionObjectID()
Description copied from interface: Faction.FactionReactionItem
The ability/behavior/command id.

Specified by:
reactionObjectID in interface Faction.FactionReactionItem
Returns:
the ability/behavior/command id
See Also:
Faction.FactionReactionItem.setReactionObjectID(String)

setReactionObjectID

public void setReactionObjectID(java.lang.String str)
Description copied from interface: Faction.FactionReactionItem
Set the ability/behavior/command id.

Specified by:
setReactionObjectID in interface Faction.FactionReactionItem
Parameters:
str - the ability/behavior/command id
See Also:
Faction.FactionReactionItem.reactionObjectID()

presentMOBMask

public java.lang.String presentMOBMask()
Description copied from interface: Faction.FactionReactionItem
The mask to tell which mobs to apply this reaction to

Specified by:
presentMOBMask in interface Faction.FactionReactionItem
Returns:
mask to tell which mobs to apply this reaction to
See Also:
Faction.FactionReactionItem.setPresentMOBMask(String)

setPresentMOBMask

public void setPresentMOBMask(java.lang.String str)
Description copied from interface: Faction.FactionReactionItem
Set the mask to determine which mobs in the players presence will be affected. This is a zappermask.

Specified by:
setPresentMOBMask in interface Faction.FactionReactionItem
Parameters:
str - the mask to determine which mobs in the players presence will be affected
See Also:
MaskingLibrary, Faction.FactionReactionItem.presentMOBMask()

compiledPresentMOBMask

public MaskingLibrary.CompiledZapperMask compiledPresentMOBMask()
Description copied from interface: Faction.FactionReactionItem
The compiled mask to tell which mobs to apply this reaction to

Specified by:
compiledPresentMOBMask in interface Faction.FactionReactionItem
Returns:
the compiled mask to tell which mobs to apply this reaction to
See Also:
Faction.FactionReactionItem.setPresentMOBMask(String)

rangeName

public java.lang.String rangeName()
Description copied from interface: Faction.FactionReactionItem
The name of the range which determines which folks with this faction get a reaction

Specified by:
rangeName in interface Faction.FactionReactionItem
Returns:
the range which determines which folks with this faction get a reaction
See Also:
Faction.FactionReactionItem.setRangeName(String)

setRangeName

public void setRangeName(java.lang.String str)
Description copied from interface: Faction.FactionReactionItem
Set the name of the range which determines which folks with this faction get a reaction

Specified by:
setRangeName in interface Faction.FactionReactionItem
Parameters:
str - the range which determines which folks with this faction get a reaction
See Also:
Faction.FactionReactionItem.rangeName()

parameters

public java.lang.String parameters()
Description copied from interface: Faction.FactionReactionItem
The parameters for the ability/behavior/command above.

Specified by:
parameters in interface Faction.FactionReactionItem
Returns:
the parameters for the ability/behavior/command above
See Also:
Faction.FactionReactionItem.setRangeName(String)

parameters

public java.lang.String parameters(java.lang.String name)

setParameters

public void setParameters(java.lang.String str)
Description copied from interface: Faction.FactionReactionItem
Set the parameters for the ability/behavior/command above.

Specified by:
setParameters in interface Faction.FactionReactionItem
Parameters:
str - the parameters for the ability/behavior/command above
See Also:
Faction.FactionReactionItem.rangeName()

toString

public java.lang.String toString()
Description copied from interface: Faction.FactionReactionItem
Returns a semicolon-delimited string of the values of this reaction, suitable for using to create a new one later.

Specified by:
toString in interface Faction.FactionReactionItem
Overrides:
toString in class java.lang.Object
Returns:
a semicolon-delimited string of the values of this reaction
See Also:
Faction.addReaction(String, String, String, String)