This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

34 lines
756 B
JavaScript

import AnimatedValue from '../core/InternalAnimatedValue';
class Animation {
static springDefaultState() {
return {
position: new AnimatedValue(0),
finished: new AnimatedValue(0),
velocity: new AnimatedValue(0),
time: new AnimatedValue(0)
};
}
static decayDefaultState() {
return {
position: new AnimatedValue(0),
finished: new AnimatedValue(0),
velocity: new AnimatedValue(0),
time: new AnimatedValue(0)
};
}
static timingDefaultState() {
return {
position: new AnimatedValue(0),
finished: new AnimatedValue(0),
time: new AnimatedValue(0),
frameTime: new AnimatedValue(0)
};
}
}
export default Animation;
//# sourceMappingURL=Animation.js.map