[COMMITTED] Reusing CurveController

Because there is no method to reset 'currentTime' for CurveController,

We can't reuse CurveController


Index: src/com/jme/curve/CurveController.java
===================================================================
--- src/com/jme/curve/CurveController.java   (revision 4105)
+++ src/com/jme/curve/CurveController.java   (working copy)
@@ -216,6 +216,10 @@
         }
     }
     
+    public void reset() {
+       this.currentTime = 0;
+    }
+   
     public void write(JMEExporter e) throws IOException {
         super.write(e);
         OutputCapsule capsule = e.getCapsule(this);



You could have added Javadoc to this…

heh. On a mission jjmontes?

jjmontes said:

You could have added Javadoc to this...

Okay, I'll not forget this from now on.