Class IntAnimation

java.lang.Object
gaiasky.util.gdx.model.IntAnimation

public class IntAnimation extends Object
An Animation has an id and a list of IntNodeAnimation instances. Each NodeAnimation animates a single IntNode in the IntModel. Every IntNodeAnimation is assumed to have the same amount of keyframes, at the same timestamps, as all other node animations for faster keyframe searches.
  • Field Details

    • id

      public String id
      the unique id of the animation
    • duration

      public float duration
      the duration in seconds
    • nodeAnimations

      public com.badlogic.gdx.utils.Array<IntNodeAnimation> nodeAnimations
      the animation curves for individual nodes
  • Constructor Details

    • IntAnimation

      public IntAnimation()