#nullable enable
namespace Babushka.scripts.CSharp.Common.Inventory;
///
/// Represents a virtual object wrapper for an item instance.
/// Can return the containing item or null.
///
public class InventorySlot
{
///
/// The inventory item instance that may or may not be bound to this slot.
///
public ItemInstance? itemInstance;
///
/// Whether or not this slot is currently occupied by an item instance.
///
///
public bool IsEmpty()
{
return itemInstance == null;
}
}