|
|
|
@ -111,6 +111,14 @@ public class FlyByCamera implements AnalogListener, ActionListener { |
|
|
|
|
this.moveSpeed = moveSpeed; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Gets the move speed. The speed is given in world units per second. |
|
|
|
|
* @return moveSpeed |
|
|
|
|
*/ |
|
|
|
|
public float getMoveSpeed(){ |
|
|
|
|
return moveSpeed; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Sets the rotation speed. |
|
|
|
|
* @param rotationSpeed |
|
|
|
@ -119,6 +127,14 @@ public class FlyByCamera implements AnalogListener, ActionListener { |
|
|
|
|
this.rotationSpeed = rotationSpeed; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Gets the move speed. The speed is given in world units per second. |
|
|
|
|
* @return rotationSpeed |
|
|
|
|
*/ |
|
|
|
|
public float getRotationSpeed(){ |
|
|
|
|
return rotationSpeed; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @param enable If false, the camera will ignore input. |
|
|
|
|
*/ |
|
|
|
|