adds item to inventory concode_field_sep int sizeWorldX concode_elem_sep String imageFilename concode_elem_sep int sizeX concode_elem_sep int yPos concode_elem_sep int sizeWorldY concode_elem_sep String name concode_elem_sep List<Item> itemList concode_elem_sep Long id concode_elem_sep int xPos concode_elem_sep int sizeY concode_field_sep void setName concode_elem_sep void removeItem concode_elem_sep List<Item> getItemList concode_elem_sep int getSizeY concode_elem_sep int getSizeX concode_elem_sep String getName concode_elem_sep int getxPos concode_elem_sep int getyPos concode_elem_sep Long getId concode_elem_sep void addItemToInventory concode_elem_sep void setInventory concode_elem_sep void setItemList concode_elem_sep String getImageFilename concode_elem_sep int getInventorySize concode_elem_sep void takeItem concode_elem_sep void giveItemToCharacter concode_elem_sep void setId concode_elem_sep void setImageFilename concode_elem_sep List<Item> getInventory concode_elem_sep String talkTo concode_elem_sep void setyPos concode_elem_sep void removeItemFromInventory concode_elem_sep void setxPos concode_elem_sep boolean isInInventory
void function ( Item arg0 ) { if ( ( arg0 != null ) && ( ! this . isInInventory ( arg0 ) ) ) { itemList . add ( arg0 ) ; arg0 . setIsInInventory ( true ) ; } }