void function ( ) { this . xCoordinate = ( int ) ( 100 * Math . random ( ) ) ; this . yCoordinate = ( int ) ( 100 * Math . random ( ) ) ; }
generates random coordinates and log the villager to the console . concode_field_sep Profession profession concode_elem_sep int wealth concode_elem_sep int xCoordinate concode_elem_sep Gender gender concode_elem_sep int yCoordinate concode_elem_sep List<Pet> pets concode_elem_sep String name concode_elem_sep int MAX_WEALTH concode_elem_sep int age concode_field_sep void logCoordinates concode_elem_sep String getName concode_elem_sep void setWealth concode_elem_sep int getYCoordinate concode_elem_sep int getWealth concode_elem_sep List<Pet> getPets concode_elem_sep String toString concode_elem_sep void addPet concode_elem_sep int compareTo concode_elem_sep int getXCoordinate concode_elem_sep Profession getProfession