public PointF getVelocityVector() { return new PointF(mX.getRealVelocity(), mY.getRealVelocity()); }
private float getVelocity() { float xvel = mX.getRealVelocity(); float yvel = mY.getRealVelocity(); return FloatMath.sqrt(xvel * xvel + yvel * yvel); }