void function ( int arg0 , int arg1 , GameConstants arg2 ) { this . sardineAlive ++ ; Sardine loc0 = new Sardine ( arg2 , arg0 , arg1 ) ; System . out . println ( "srini_string" + loc0 + "srini_string" + arg0 + "srini_string" + arg1 + "srini_string" ) ; this . sea [ arg0 ] [ arg1 ] = loc0 ; this . fishAlive . add ( loc0 ) ; }
method used to create a new sardine in the sea should be used by fish method givebirth concode_field_sep int sardineAlive concode_elem_sep int column concode_elem_sep int sharkAlive concode_elem_sep int row concode_elem_sep Fish[][] sea concode_elem_sep ArrayList<Fish> fishAlive concode_field_sep int getSardineAlive concode_elem_sep void deleteFish concode_elem_sep ArrayList<Fish> getFishAlive concode_elem_sep void moveFish concode_elem_sep void createShark concode_elem_sep HashMap<Direction,Fish> getNeighborhood concode_elem_sep void setSea concode_elem_sep Fish[][] getSea concode_elem_sep Fish getNextFishAlive concode_elem_sep void populateSea concode_elem_sep String logOutput concode_elem_sep void setFishAlive concode_elem_sep int getSharkAlive