Class KeyFrame<Component>


  • public class KeyFrame<Component>
    extends Object
    • Constructor Detail

      • KeyFrame

        public KeyFrame​(float timestamp,
                        Component status)
        Creating new keyframe for an animation
        Parameters:
        timestamp - Time stamp of the keyframe in the animation
        status - Components status at this keyframe
    • Method Detail

      • getTimestamp

        public float getTimestamp()
        Returns:
        Time stamp of the keyframe in the animation
      • getStatus

        public Component getStatus()
        Returns:
        Components status at this keyframe