boolean function ( String arg0 ) { for ( Book loc0 : books ) { if ( loc0 . getName ( ) . equals ( arg0 ) ) { return true ; } } return false ; }
tells if player has the book with this name or not . concode_field_sep List<Subject> completedSubjects concode_elem_sep Integer invWeight concode_elem_sep List<Book> books concode_elem_sep String name concode_elem_sep Integer hp concode_elem_sep List<Subject> enrolledSubjects concode_elem_sep Room location concode_elem_sep Integer amtKeys concode_field_sep void setName concode_elem_sep Room getLocation concode_elem_sep void addCompletedSubjects concode_elem_sep void addEnrolledSubjects concode_elem_sep Subject findCompletedSubjects concode_elem_sep Subject findCompletedSubjects concode_elem_sep String getName concode_elem_sep Integer getHp concode_elem_sep Integer getWeight concode_elem_sep boolean removeEnrolledSubjects concode_elem_sep void addKey concode_elem_sep Boolean addBook concode_elem_sep Integer getKeysAmount concode_elem_sep void setHp concode_elem_sep List<Book> getAllBooks concode_elem_sep boolean removeKey concode_elem_sep void setLocation concode_elem_sep Subject findEnrolledSubjects concode_elem_sep Subject findEnrolledSubjects concode_elem_sep List<Subject> getCompletedSubjects concode_elem_sep void config concode_elem_sep boolean removeCompletedSubjects concode_elem_sep Book findBook concode_elem_sep Book findBook concode_elem_sep List<Subject> getEnrolledSubjects concode_elem_sep boolean removeBook