Can we make some fields protected in CurveController so we can extend it more effectively?
[patch]Index: src/com/jme/curve/CurveController.java
===================================================================
— src/com/jme/curve/CurveController.java (revision 6073)
+++ src/com/jme/curve/CurveController.java (working copy)
@@ -53,12 +53,12 @@
*/
public class CurveController extends Controller {
private static final long serialVersionUID = 1L;
- private Spatial mover;
- private Curve curve;
- private Vector3f up;
- private float orientationPrecision = 0.1f;
- private float currentTime = 0.0f;
- private float deltaTime = 0.0f;
- protected Spatial mover;
- protected Curve curve;
- protected Vector3f up;
- protected float orientationPrecision = 0.1f;
- protected float currentTime = 0.0f;
- protected float deltaTime = 0.0f;
private boolean cycleForward = true;
private boolean autoRotation = false;
[/patch]