Package gaiasky.util.gdx.model
Class IntAnimation
java.lang.Object
gaiasky.util.gdx.model.IntAnimation
public class IntAnimation
extends java.lang.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 Summary
Fields Modifier and Type Field Description floatdurationthe duration in secondsjava.lang.Stringidthe unique id of the animationcom.badlogic.gdx.utils.Array<IntNodeAnimation>nodeAnimationsthe animation curves for individual nodes -
Constructor Summary
Constructors Constructor Description IntAnimation() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
public java.lang.String idthe unique id of the animation -
duration
public float durationthe duration in seconds -
nodeAnimations
the animation curves for individual nodes
-
-
Constructor Details
-
IntAnimation
public IntAnimation()
-