Class KeyFrame
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 Type Method Description int
getDuration()
int
getSpriteIndex()
void
setDuration(int duration)
void
setSprite(int sprite)
Method Details
getDuration
public int getDuration()getSpriteIndex
public int getSpriteIndex()setDuration
public void setDuration(int duration)setSprite
public void setSprite(int sprite)