file: ItemStack.aus

class: ItemStack

[14:7] extends: FxObj

Wraps FXGL's ItemStack, one physical pile of identical items inside an Inventory. Each Inventory item may break across multiple stacks when its quantity exceeds the per-stack cap from ItemConfig.maxStackQuantity. Stacks are not constructed by user code -- obtain them from Inventory.itemsProperty.

Methods