blob: 3d0311afa71ace5b4152221c10da9c1afcd37f61 [file] [log] [blame]
package com.airbnb.lottie.model.animatable;
import com.airbnb.lottie.animation.Keyframe;
import com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation;
import com.airbnb.lottie.animation.keyframe.IntegerKeyframeAnimation;
import java.util.List;
public class AnimatableIntegerValue extends BaseAnimatableValue<Integer, Integer> {
public AnimatableIntegerValue() {
this(100);
}
AnimatableIntegerValue(Integer value) {
super(value);
}
public AnimatableIntegerValue(List<Keyframe<Integer>> keyframes) {
super(keyframes);
}
@Override public BaseKeyframeAnimation<Integer, Integer> createAnimation() {
return new IntegerKeyframeAnimation(keyframes);
}
}