public class DamageAbsorptionProperty extends IntProperty
Property.Operator
operator, value
Constructor and Description |
---|
DamageAbsorptionProperty(int value)
Creates a new
DamageAbsorptionProperty with the given amount of
damage absorption per hit. |
DamageAbsorptionProperty(int value,
Property.Operator operator)
Creates a new
DamageAbsorptionProperty with the given amount of
damage absorption per hit. |
DamageAbsorptionProperty(Object value,
Property.Operator operator)
Creates a new
DamageAbsorptionProperty with the given amount of
damage absorption per hit. |
compareTo
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public DamageAbsorptionProperty(int value)
DamageAbsorptionProperty
with the given amount of
damage absorption per hit.value
- The amount of absorbed damagepublic DamageAbsorptionProperty(int value, Property.Operator operator)
DamageAbsorptionProperty
with the given amount of
damage absorption per hit.value
- The amount of absorbed damageoperator
- The operator to compare this property to other propertiespublic DamageAbsorptionProperty(Object value, Property.Operator operator)
DamageAbsorptionProperty
with the given amount of
damage absorption per hit.value
- The amount of absorbed damageoperator
- The operator to compare this property to other properties