/// <summary> /// Checks if an item can be unequipped. Also unequips it. /// </summary> /// <param name="item"></param> /// <returns></returns> public bool Unequip(Item item) { if (!inventory.IsFull() && equipments.RemoveItem(item)) { item.isEquipped = false; inventory.AddItem(item); return(true); } return(false); }