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