protected Motion(int sourceValue,float initVelocity,float friction){
  this.sourceValue=sourceValue;
  this.initVelocity=initVelocity;
  this.friction=friction;
  duration=(int)((Math.abs(initVelocity)) / friction);
  previousLastReturnedValue[0]=-1;
}

protected Motion ( int sourceValue , float initVelocity , float friction ) { this . sourceValue = sourceValue ; this . initVelocity = initVelocity ; this . friction = friction ; duration = ( int ) ( ( Math . abs ( initVelocity ) ) / friction ) ; previousLastReturnedValue [ 0 ] = - 1 ; }
construct a velocity motion
