public class FoodRestorationProperty extends IntProperty
Property.Operator
operator, value
Constructor and Description |
---|
FoodRestorationProperty(int value)
Creates a new
FoodRestorationProperty . |
FoodRestorationProperty(int value,
Property.Operator operator)
Creates a new
FoodRestorationProperty . |
FoodRestorationProperty(Object value,
Property.Operator operator)
Creates a new
FoodRestorationProperty . |
compareTo
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public FoodRestorationProperty(int value)
FoodRestorationProperty
.value
- The value of food level restored upon usepublic FoodRestorationProperty(int value, Property.Operator operator)
FoodRestorationProperty
.value
- The value of food level restored upon useoperator
- The operator to use to compare to other propertiespublic FoodRestorationProperty(Object value, Property.Operator operator)
FoodRestorationProperty
.value
- The value of food level restored upon useoperator
- The operator to use to compare to other properties