aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/animations/DummyAnimation.java
blob: bc97aca1fe9e3ce6edd57d03b6860d9e81213045 (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;
    }
}