A named lookup of values, registered once and read back by name - the shape underneath a
catalog of factories, handlers, or scene sections, so a game can grow that catalog by
registering another entry instead of adding another branch to a hand-written if/switch.
Deliberately does not discover or import anything on its own: a game still writes the
import and the register call for each entry itself, the same explicit-import style
core/two-d already use throughout - this only replaces the dispatch step after that,
not the wiring step before it.
A named lookup of values, registered once and read back by name - the shape underneath a catalog of factories, handlers, or scene sections, so a game can grow that catalog by registering another entry instead of adding another branch to a hand-written
if/switch.Deliberately does not discover or import anything on its own: a game still writes the import and the
registercall for each entry itself, the same explicit-import stylecore/two-dalready use throughout - this only replaces the dispatch step after that, not the wiring step before it.Example