Package de.coreengine.animation
Class KeyFrame<Component>
- java.lang.Object
-
- de.coreengine.animation.KeyFrame<Component>
-
public class KeyFrame<Component> extends Object
-
-
Constructor Detail
-
KeyFrame
public KeyFrame(float timestamp, Component status)
Creating new keyframe for an animation- Parameters:
timestamp
- Time stamp of the keyframe in the animationstatus
- Components status at this keyframe
-
-
Method Detail
-
getTimestamp
public float getTimestamp()
- Returns:
- Time stamp of the keyframe in the animation
-
getStatus
public Component getStatus()
- Returns:
- Components status at this keyframe
-
-