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
|
parsepublic java.lang.String getId()
BattlePropertypublic boolean requiredByClient()
BattlePropertypublic java.util.Optional<PropertyValue<java.lang.Integer>> getDefault()
BattlePropertyOptional> public PropertyValue<java.lang.Integer> getInstance()
BattlePropertyPropertyValue