file: ItemConfig.aus

class: ItemConfig

[19:7] extends: FxObj

Wraps FXGL's ItemConfig, the small data object passed into Inventory.addConfig to describe a new item's display name, description, stack cap, and view Node. The view is rendered by any FXGL inventory list view that displays the inventory's itemsProperty. All four fields are mutable, and all are optional in the underlying Kotlin constructor; defaults are empty strings, Integer.MAX_VALUE for the stack cap, and an empty Group for the view.

Methods