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.

@FunctionalInterface public interface Animatable
Animated object that expects to receive frame updates for as long as the animation is active.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.