boolean function ( ) { if ( villageProffesions [ villageNum ] [ 0 ] >= 1 && villageProffesions [ villageNum ] [ 1 ] >= 2 ) return true ; else System . out . println ( "srini_string" + villageNum + "srini_string" + "srini_string" ) ; return false ; }
returns true if the amount of farmers and doctor is enough for creating new village . otherwise returns false . concode_field_sep int NUM_VILLAGES_OVERALL concode_elem_sep int villagePopulation[] concode_elem_sep int currentBiomeY concode_elem_sep int currentBiomeX concode_elem_sep int villageNum concode_elem_sep World world concode_elem_sep int currentVillager concode_elem_sep int villageProffesions[][] concode_elem_sep int currentVillage concode_field_sep int[] getVillagePopulation concode_elem_sep void writeWorldToFile concode_elem_sep String convertUpper concode_elem_sep World readWorldFromFile concode_elem_sep int getVillageNum