attempt to update the marble with a new x value , boundary checking enabled to make sure the new co-ordinate is valid . concode_field_sep int mLives concode_elem_sep int mColor concode_elem_sep int mRadius concode_elem_sep View mView concode_elem_sep int mX concode_elem_sep int mY concode_field_sep int getLives concode_elem_sep void init concode_elem_sep int getX concode_elem_sep int getY concode_elem_sep void death concode_elem_sep void updateY concode_elem_sep void setLives concode_elem_sep void draw
void function ( float arg0 ) { mX += arg0 ; if ( mX + mRadius >= mView . getWidth ( ) ) mX = mView . getWidth ( ) - mRadius ; else if ( mX - mRadius < 0 ) mX = mRadius ; }