java.lang.Object
de.gurkenlabs.litiengine.graphics.animation.KeyFrame

public class KeyFrame
extends java.lang.Object
The Keyframe class defines the relation between a particular sprite index and its animation duration.
  • Method Summary

    Modifier and TypeMethodDescription
    intgetDuration() 
    intgetSpriteIndex() 
    voidsetDuration​(int duration) 
    voidsetSprite​(int sprite) 

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait