Package dev.prozilla.pine.common
Interface Animatable
- All Known Implementing Classes:
AdaptiveColorProperty
,AdaptiveDimensionProperty
,AdaptiveDirectionProperty
,AdaptiveDistributionProperty
,AdaptiveDualDimensionProperty
,AdaptiveEdgeAlignmentProperty
,AdaptiveFloatProperty
,AdaptiveGridAlignmentProperty
,AdaptiveIntProperty
,AdaptiveObjectProperty
,AdaptiveProperty
,AdaptivePropertyBase
,AdaptiveStringProperty
,AnimationData
,StyledColorProperty
,StyledDimensionProperty
,StyledDirectionProperty
,StyledDistributionProperty
,StyledDualDimensionProperty
,StyledEdgeAlignmentProperty
,StyledGridAlignmentProperty
,StyledIntProperty
,StyledObjectProperty
,StyledProperty
public interface Animatable
Abstract interface for objects that can be animated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Restarts the animation from the beginning.void
updateAnimation
(float deltaTime) Progresses the animation in time.
-
Method Details
-
restartAnimation
void restartAnimation()Restarts the animation from the beginning. -
updateAnimation
void updateAnimation(float deltaTime) Progresses the animation in time.- Parameters:
deltaTime
- Time between this frame and the last one, in seconds.
-