com.badlogic.gdx.graphics.g3d.utils
Class AnimationController.AnimationDesc

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.utils.AnimationController.AnimationDesc
Enclosing class:
AnimationController

public static class AnimationController.AnimationDesc
extends Object

Class describing how to play and Animation. You can read the values within this class to get the progress of the animation. Do not change the values. Only valid when the animation is currently played.

Author:
Xoppa

Field Summary
 Animation animation
          The animation to be applied.
 AnimationController.AnimationListener listener
          Listener which will be informed when the animation is looped or ended.
 int loopCount
          The number of remaining loops, negative for continuous, zero if stopped.
 float speed
          The speed at which to play the animation (can be negative), 1.0 for normal speed.
 float time
          The current animation time.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

public AnimationController.AnimationListener listener
Listener which will be informed when the animation is looped or ended.


animation

public Animation animation
The animation to be applied.


speed

public float speed
The speed at which to play the animation (can be negative), 1.0 for normal speed.


time

public float time
The current animation time.


loopCount

public int loopCount
The number of remaining loops, negative for continuous, zero if stopped.



Copyright © 2013. All Rights Reserved.