checks if the obstacle that is down intersects with the block side . 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 crashOnObstacle concode_elem_sep void resetObstaclePosition concode_elem_sep boolean colideUpX concode_elem_sep boolean colideDown concode_elem_sep void draw concode_elem_sep boolean colideUp
boolean function ( Block arg0 ) { if ( arg0 . y + Block . HEIGHT > y ) { if ( arg0 . x + Block . WIDTH == x ) { return true ; } } return false ; }