public class TurnTimeProperty extends AbstractIntegerProperty
Constructor and Description |
---|
TurnTimeProperty() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<PropertyValue<java.lang.Integer>> |
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
|
PropertyValue<java.lang.Integer> |
getInstance()
Gets a new instanceof the
PropertyValue |
boolean |
requiredByClient()
If the property's value is required by the client for UI logic
|
parse
public java.lang.String getId()
BattleProperty
public boolean requiredByClient()
BattleProperty
public java.util.Optional<PropertyValue<java.lang.Integer>> getDefault()
BattleProperty
Optional>
public PropertyValue<java.lang.Integer> getInstance()
BattleProperty
PropertyValue