public I_Item takeFromBackpack(string item, int position) { return(Backpack.takeItem(item, position)); }
/** * Places item in the backpack * @param: (I_Item) item object to be placed in backpack. * @returns: void **/ public void addToBackpack(I_Item item) { Backpack.giveItem(item); }
/** * Takes an item out of the backpack * @params: (String) name of the item to be taken from backpack **/ public I_Item takeFromBackpack(string item) { return(Backpack.takeItem(item)); }