Class AdaptiveObjectProperty
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<Object>
dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase<Object>
dev.prozilla.pine.common.property.adaptive.AdaptiveProperty<Object>
dev.prozilla.pine.common.property.adaptive.AdaptiveObjectProperty
- 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
ConstructorsConstructorDescriptionAdaptiveObjectProperty(VariableProperty<Object> variableProperty) AdaptiveObjectProperty(Object fixedValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic AdaptiveObjectPropertyadapt(AdaptiveObjectProperty property) static AdaptiveObjectPropertyadapt(VariableProperty<Object> property) Converts any object property into an adaptive property.static AdaptiveObjectPropertyConverts an object 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
-
AdaptiveObjectProperty
-
AdaptiveObjectProperty
-
-
Method Details
-
adapt
Converts an object into an adaptive property.- Parameters:
value- The value of the property
-
adapt
-
adapt
Converts any object property into an adaptive property.- Parameters:
property- The property to adapt
-