initializes the velocity components . concode_field_sep int xPosition concode_elem_sep int xVelocity concode_elem_sep int initVelocity concode_elem_sep int size concode_elem_sep int yPosition concode_elem_sep int g concode_elem_sep double angle concode_elem_sep int yVelocity concode_elem_sep int wind concode_field_sep boolean targetHit concode_elem_sep int getXPosition concode_elem_sep void setYPosition concode_elem_sep int getYVelocity concode_elem_sep void setXVelocity concode_elem_sep void paint concode_elem_sep void setGravity concode_elem_sep void calculate concode_elem_sep int getXVelocity concode_elem_sep void setXPosition concode_elem_sep int getYPosition concode_elem_sep void setYVelocity
void function ( double arg0 ) { angle = Math . toRadians ( arg0 ) ; double loc0 = initVelocity * Math . cos ( angle ) ; xVelocity = ( int ) loc0 ; double loc1 = initVelocity * Math . sin ( angle ) ; yVelocity = ( int ) loc1 ; }