Player Inventory Slot
Last updated
Last updated
The PlayerInventorySlot
class is responsbile for a single slot in the player's inventory.
public Item item
: Represents the item currently held in this inventory slot.
public Effect Use()
: Manages the usage of the item in this slot. It retrieves the effect of the item by calling item.GetEffect()
and returns it.