aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/animations/DummyAnimation.java
blob: dc5bc262af9c04ce61d0e9f6151383be833e3d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package cc.polyfrost.oneconfig.gui.animations;

public class DummyAnimation extends Animation {
    /**
     * @param value The value that is returned
     */
    public DummyAnimation(float value) {
        super(value, value, value, false);
    }

    @Override
    protected float animate(float timePassed, float duration, float start, float change) {
        return start;
    }
}