Package nl.colorize.util.animation
Interface Animatable
- All Known Implementing Classes:
AnimatedColor
,CircularLoader
,Timeline
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Animated object that expects to receive frame updates for as long as the
animation is active.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFrame
(float deltaTime) Called every frame update while the animation is active.
-
Method Details
-
onFrame
void onFrame(float deltaTime) Called every frame update while the animation is active.- Parameters:
deltaTime
- Time since the last frame update, in seconds.
-