nl: draws the obstacle with declared size . concode_field_sep int obstacleSize concode_elem_sep int RESET_POSITION concode_elem_sep int gameWidth concode_elem_sep int obstacleHeigth concode_elem_sep int gameHeight concode_elem_sep boolean isUp concode_elem_sep int x concode_elem_sep int y concode_elem_sep int resetPosition concode_elem_sep int MOVE concode_field_sep void move concode_elem_sep boolean colideDownX concode_elem_sep boolean crashOnObstacle concode_elem_sep void resetObstaclePosition concode_elem_sep boolean colideUpX concode_elem_sep boolean colideDown concode_elem_sep boolean colideUp
code: void function ( Graphics arg0 , int arg1 ) { this . obstacleSize = arg1 ; if ( isUp ) { arg0 . setColor ( new Color ( 212 , 129 , 78 ) ) ; arg0 . fill3DRect ( x , y , 150 , gameHeight - arg1 - 150 , true ) ; } else { arg0 . setColor ( new Color ( 212 , 129 , 78 ) ) ; arg0 . fill3DRect ( x , y , 150 , arg1 , true ) ; } }