HasModel

interface HasModel

Capability: the entity can expose and/or change its "model".

Design note

The word "model" is used because that's what we expect the game UI exposes, but the actual host mapping is unknown. This capability stays generic: a model is just a Key into a host-provided catalog.

Functions

Link copied to clipboard
abstract fun model(): Key

Current model key.

Link copied to clipboard
abstract fun setModel(model: Key)

Requests a model change.