void function ( int arg0 , int arg1 ) { for ( IBomb loc0 : bombs ) { float loc1 = loc0 . getPosX ( ) ; float loc2 = loc0 . getPosY ( ) ; if ( arg0 > loc1 - 20 && arg0 < loc1 + 20 && arg1 > loc2 - 20 && arg1 < loc2 + 20 ) { pickingBomb = loc0 ; break ; } } }
picks the bomb at the position x , y concode_field_sep Gun gun concode_elem_sep List<Wall> walls concode_elem_sep List<Cat> cats concode_elem_sep IBomb pickingBomb concode_elem_sep World world concode_elem_sep List<Net> nets concode_elem_sep List<IBomb> bombs concode_elem_sep boolean isStarted concode_elem_sep boolean finish concode_field_sep Gun getGun concode_elem_sep World getWorld concode_elem_sep void generateBoundaries concode_elem_sep boolean victory concode_elem_sep void start concode_elem_sep void update concode_elem_sep List<Wall> getWalls concode_elem_sep boolean isStarted concode_elem_sep boolean isFinished concode_elem_sep BoardGame loadWorld concode_elem_sep List<IBomb> getBombs concode_elem_sep List<Cat> getCats concode_elem_sep List<Net> getNets concode_elem_sep boolean defeat concode_elem_sep void placeABomb