package org.cocos2d.actions.ease;

import org.cocos2d.actions.interval.IntervalAction;

public class EaseExponentialOut extends EaseAction {

    public static EaseExponentialOut action(IntervalAction action) {
        return new EaseExponentialOut(action);
    }

    protected EaseExponentialOut(IntervalAction action) {
        super(action);
    }

    @Override
    public void update(float t) {
        other.update((t == 1) ? 1 : (-(float) (Math.pow(2, -10 * t / 1) + 1)));
    }

    @Override
    public IntervalAction reverse() {
        return new EaseExponentialIn(other.reverse());
    }

}


@@ -338,32 +338,134 @@
 action);%0A    %7D%0A%0A
+%09@Override%0A    public EaseAction copy() %7B%0A        return new EaseExponentialOut(other.copy());%0A    %7D%0A%0A
     @Override%0A  
@@ -533,17 +533,16 @@
  ? 1 : (
--
 (float) 
@@ -542,16 +542,17 @@
 float) (
+-
 Math.pow
@@ -669,18 +669,19 @@
 onential
-In
+Out
 (other.r

Fix bug with exponential out (minus sign was in wrong place.) Thanks to Zhou Weikuan for finding the bug