Class AdaptiveStringProperty
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<String>
dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase<String>
dev.prozilla.pine.common.property.adaptive.AdaptiveProperty<String>
dev.prozilla.pine.common.property.adaptive.AdaptiveStringProperty
- All Implemented Interfaces:
Animatable
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase
animatedProperty, variablePropertyFields inherited from class dev.prozilla.pine.common.property.VariableProperty
random -
Constructor Summary
ConstructorsConstructorDescriptionAdaptiveStringProperty(VariableProperty<String> variableProperty) AdaptiveStringProperty(String fixedValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic AdaptiveStringPropertyadapt(AdaptiveStringProperty property) static AdaptiveStringPropertyadapt(VariableProperty<String> property) Converts any string property into an adaptive property.static AdaptiveStringPropertyConverts a string into an adaptive property.Methods inherited from class dev.prozilla.pine.common.property.adaptive.AdaptiveProperty
getValueMethods inherited from class dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase
isAnimated, isDynamic, restartAnimation, updateAnimationMethods inherited from class dev.prozilla.pine.common.property.VariableProperty
exists, getValue, getValue, hasValue
-
Constructor Details
-
AdaptiveStringProperty
-
AdaptiveStringProperty
-
-
Method Details
-
adapt
Converts a string into an adaptive property.- Parameters:
value- The value of the property
-
adapt
-
adapt
Converts any string property into an adaptive property.- Parameters:
property- The property to adapt
-