file: Inventory.aus

class: Inventory

[17:7] extends: FxObj

Wraps FXGL's Inventory, a generic container of items keyed by an arbitrary type T (often a string, enum, or entity-type tag). Each item carries a display name, description, view Node, and quantity. The wrapper exposes the simple-add path (name + description + view + quantity) plus the quantity queries and remove operations needed by typical inventory UIs.

Methods