public class ArmorSlotType extends EquipmentSlotType
Property.Operator
operator, value
Constructor and Description |
---|
ArmorSlotType(Object value,
Property.Operator operator)
Create a new ArmorSlotType property which matches armour slots of the
specified type.
|
ArmorSlotType(WornEquipmentType value)
Create a new ArmorSlotType property which matches armour slots of the
specified type.
|
ArmorSlotType(WornEquipmentType value,
Property.Operator operator)
Create a new ArmorSlotType property which matches armour slots of the
specified type.
|
Modifier and Type | Method and Description |
---|---|
static ArmorSlotType |
not(Object value)
Create an ArmourSlotType property which matches ArmourSlotType properties
with unequal value.
|
static ArmorSlotType |
of(Object value)
Create an ArmourSlotType property which matches ArmourSlotType properties
with equal value.
|
compareTo
equals, getDefaultKey, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches
public ArmorSlotType(WornEquipmentType value)
value
- armour type to matchpublic ArmorSlotType(WornEquipmentType value, Property.Operator operator)
value
- armour type to matchoperator
- logical operator (either EQUAL or NOTEQUAL) to applypublic ArmorSlotType(Object value, Property.Operator operator)
value
- armour type to matchoperator
- logical operator (either EQUAL or NOTEQUAL) to applypublic static ArmorSlotType of(Object value)
value
- Type of worn equipment to matchpublic static ArmorSlotType not(Object value)
value
- Type of worn equipment to match