public class FullHealProperty extends AbstractBooleanProperty
Constructor and Description |
---|
FullHealProperty() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<PropertyValue<java.lang.Boolean>> |
getDefault()
Gets the default value when not supplied
If returning an empty optional this means it isn't always required
|
java.lang.String |
getId()
The id of the property
|
boolean |
requiredByClient()
If the property's value is required by the client for UI logic
|
getInstance, parse
public java.lang.String getId()
BattleProperty
public boolean requiredByClient()
BattleProperty
public java.util.Optional<PropertyValue<java.lang.Boolean>> getDefault()
BattleProperty
getDefault
in interface BattleProperty<java.lang.Boolean>
getDefault
in class AbstractBooleanProperty
Optional>